Re: Application Bundles in Panther
Re: Application Bundles in Panther
- Subject: Re: Application Bundles in Panther
- From: Walter Ian Kaye <email@hidden>
- Date: Sun, 2 Nov 2003 06:05:16 -0800
At 03:08a -0500 11/02/2003, Tom Walther didst inscribe upon an
electronic papyrus:
OS X 10.3 Panther allows new (I think) saving options for
Applescripts: Script Bundle and Application Bundle.
This is huge--finally I can include the movies and images my scripts
reference inside the app itself.
However, I can't figure out how to reference items in the bundle
(ex. in Contents/Resources) with a relative path from inside the
script. It works fine if I use absolute paths, but that requires
placing the script in a very specific location. Can anyone tell me
what kind of path I should use to a .jpg or .mov file in the script
bundle? Can you provide an example?
I don't know if there's an official answer, but I'm guessing maybe
you could create a dummy app with a unique creator code (or bundle
id), get its path via Finder, and-- oh wait, is 'application file id'
restricted to the same 3- levels under /Applications as other apps?
OK, maybe that won't work after all.
'Twas a nice idea while it lasted.
Anyone find any new file-related AS commands in Panther?
-boo
looking for a deep discount on Panther (Amazon discount keeps shrinking...)
_______________________________________________
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.