You are not logged in.
Hi guys,
Can anyone tell me how to compile Applescript scripts from command line as we need to build packages for our release from command line?
Thanks and God Bless.
Ben.
Offline
Hi,
command osacompile
[code]/usr/bin/osacompile -o /path/to/applicationbundle.app /path/to/textfile.txt[/code]
creates an application bundle, read the man page for further details
regards
Stefan
Offline
Thanks for your answer Stefan....can I just say osacompile instead of the /usr/bin, and also if I have a packaged script file with the localization stuff in it, can I use it with the "-o software.app" element to create the clickable application?
Offline
can I just say osacompile instead of the /usr/bin
You can, but for portability of your scripts it's a much better style to use always the full path
… and also if I have a packaged script file with the localization stuff in it, can I use it with the "-o software.app" element to create the clickable application?
I don't know, just try it
regards
Stefan
Offline