making a .app script from the command line with osacompile; convert a compiled script to a .app?
making a .app script from the command line with osacompile; convert a compiled script to a .app?
- Subject: making a .app script from the command line with osacompile; convert a compiled script to a .app?
- From: christopher ariza <email@hidden>
- Date: Mon, 26 Aug 2002 20:43:11 -0400 (EDT)
im trying to make a double-clickable, .app script from the command line (a
shell script) in osx. i want to simply compile a script with osacompile
and make the result a .app.
using osacompile, we get a compiled, .scpt file. double clicking on this
opens Script Editor.
if -c and -t flags are set with osacompile to -c"aplt" -t"APPL", we get an
os9 application that tries to load classic in osx. this is not what i
want. the -x flag makes no difference either.
an option seems to be using osascript to make Script Editor open a
compiled script (produced with osacompile) and save-as an application. i
cannot, however, seem to get a scripting dictionary for Script Editor at
all. can one script a "save-as application" in Script Editor?
so my main questions:
1. how can one convert a compiled script to a .app from the command line?
2. can Script Editor be scripted, and if so, where are the docs or
scripting dicitionary? any examples of doing a "save-as application"
within Script Editor?
many thanks in advance!
christopher ariza
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.