• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: osacompile and making an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >osacompile and making an application (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: activate screensaver in OS X 10.2
  • Next by Date: Handler works only once
  • Previous by thread: Re: osacompile and making an application
  • Next by thread: Re: osacompile and making an application
  • Index(es):
    • Date
    • Thread