RE: AppleScript-Users Digest, Vol 6, Issue 355
RE: AppleScript-Users Digest, Vol 6, Issue 355
- Subject: RE: AppleScript-Users Digest, Vol 6, Issue 355
- From: Scott Babcock <email@hidden>
- Date: Thu, 6 Aug 2009 00:34:11 +0000
- Thread-topic: AppleScript-Users Digest, Vol 6, Issue 355
You don't need to rename your icon file "applet.icns" if you update the contents of Info.plist.
I actually use an Xcode project comprised of several Run Script build phases to build AppleScript application bundles:
1. Create a standard AppleScript application bundle with 'osacompile'
2. Rename the "applet" executable and "applet.rsrc" resource file so my application runs with my chosen name
3. Change the bundle signature in PkgInfo to my chosen 4-character code
4. Fix up the contents of the Info.plist file - name, executable, identifier, signature, icon file, etc.
5. Copy bundle resources (This is a standard build phase that copies my custom icon)
6. Delete the extra files from the bundle (applet.icns & description.rtfd)
-----Original Message-----
Date: Wed, 5 Aug 2009 11:48:41 +1000
From: Tim Mansour <email@hidden>
Subject: Re: Application Icons
To: Andrew P <email@hidden>
Cc: AppleScript Users <email@hidden>
Message-ID:
<email@hidden>
Content-Type: text/plain; charset=ISO-8859-1
2009/8/5 Andrew P <email@hidden>:
> Yes, I have. Will saving it as an application bundle allow me to paste the
> icns file into it, and should that be what I am using for all my apps now?
The advantage to a bundle is that you can include other files: after
all, a bundle is really a folder and so it's easy to add supporting
files and documentation. But I suggested it for your case because a
bundle also includes an icon file. If you Show Package Contents, and
navigate to Contents/Resources, you can just replace the default
applet.icns with your own one (suitably renamed).
--
Tim Mansour <email@hidden>
"The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow
than in the church." -- Ferdinand Magellan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden