• 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: "icon note" in Tiger now a generic icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: "icon note" in Tiger now a generic icon
      • From: Michael Henley <email@hidden>
References: 
 >Re: "icon note" in Tiger now a generic icon (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: "icon note" in Tiger now a generic icon
  • Next by Date: Re: saving in Acrobat
  • Previous by thread: Re: "icon note" in Tiger now a generic icon
  • Next by thread: Re: "icon note" in Tiger now a generic icon
  • Index(es):
    • Date
    • Thread