Re: osacompile and making an application
Re: osacompile and making an application
- Subject: Re: osacompile and making an application
- From: Philip Aker <email@hidden>
- Date: Thu, 20 Feb 2003 06:50:00 -0800
On Wednesday, Feb 19, 2003, at 23:27 America/Vancouver, Donald Hall
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.
It's not possible to compile one without developer tools installed (or
an OSAX that can manipulate resources). If you can use dev tools, I
posted an example last summer. Might be in the archives for August 9.
2002. It's an application which clones itself and permits one to
substitute a new script in the process.
HTH,
Philip Aker
http://www.aker.ca
_______________________________________________
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.