Re: "icon note" in Tiger now a generic icon
Re: "icon note" in Tiger now a generic icon
- Subject: Re: "icon note" in Tiger now a generic icon
- From: Michael Henley <email@hidden>
- Date: Mon, 28 Nov 2005 16:30:36 -0500
You can also use various icon files from the resource bundles of
other applications without launching or addressing the application
itself. This is convenient if you want your script to be more
portable from system to system through plain text. Here's a little
show reel I put together of various icons that can be found on a
typical Tiger install. I looked for talkie face but he was nowhere to
be found. :(
display dialog space with icon (path to resource "Automator.icns" in
bundle ((path to applications folder as string) & "Automator.app"))
giving up after 1
display dialog space with icon (path to resource "Finder.icns" in
bundle (path to application "Finder")) giving up after 1
display dialog space with icon (path to resource "info.icns" in
bundle (path to application "Finder")) giving up after 1
display dialog space with icon (path to resource "Assistant.icns" in
bundle ((path to library folder from system domain as string) &
"CoreServices:Setup Assistant.app")) giving up after 1
display dialog space with icon (path to resource "voiceover.icns" in
bundle ((path to applications folder as string) &
"Utilities:VoiceOver Utility.app")) giving up after 1
Michael Henley
On Nov 28, 2005, at 16:07:07, Mr Tea wrote:
This from Gnarlodious - dated 27/11/05 22.37:
Whatever happened to the Mac talkie face? Any way to get him back?
What all icons are available, and how do I list them?
This is new, according to the AS 1.10 (Tiger only) release notes:
"The with icon parameter to the display dialog command now accepts
an alias
or file reference to a “.icns” file. [3437405]"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden