To convert plain AppleScript file to a droplet, I can use
osacompile -o foo.app foo.applescript
My question: is it possible to use osacompile
(or maybe there is another way, using command line) to convert plain AppleScript file (such as shown below) to Automator application instead?
on run {input, parameters}
(* Your script goes here *)
return input
end run