Re: osacompile and making an application
Re: osacompile and making an application
- Subject: Re: osacompile and making an application
- From: Andrew Oliver <email@hidden>
- Date: Wed, 19 Feb 2003 23:47:46 -0800
osacompile won't create executables, only compiled scripts - the same as if
you'd saved the script as a 'compiled script' in Script Editor. It is still
lacking the code loading code required by executables.
You can run the resulting outputfilename by:
osascript outputfilename
but you can't double-click on it to run it.
Andrew
:)
On 2/19/03 11:27 PM, "Donald Hall" <email@hidden> wrote:
>
I am trying to use the osacompile command to make a script
>
application. However, I'm having no luck. I did the following after
>
reading the man page:
>
>
osacompile -d -c 'aplt' -t 'APPL' -o outputfilename inputfilename
>
>
The resulting output claims to be an application in the Get Info
>
window, but it doesn't run when double clicked. It also has the
>
classic script application icon, but this could be because it is
>
missing a lot of resource data that an application created by Script
>
Editor has.
>
>
Does anyone know if it's possible to create an application with
>
osacompile? I thought specifying the type and creator codes would
>
make it an application, but apparently not.
>
>
Thanks,
>
>
Don
_______________________________________________
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.