Re: Get default icon of document/application/folder programmatically
Re: Get default icon of document/application/folder programmatically
- Subject: Re: Get default icon of document/application/folder programmatically
- From: Dave Lyons <email@hidden>
- Date: Mon, 14 Nov 2005 18:47:30 -0800
On Nov 13, 2005, at 1:48 PM, Kevin Walzer wrote:
Does anyone know if it's possible to get the default icon of a file/
application/folder via AppleScript? I know there are functions at
the C level in Carbon for this, but I'd rather access it in AS if
possible.
Looking at Finder's dictionary, I see a reference to "icon family,"
but using this code:
tell application "Finder"
get the icon of (choose file)
end tell
returns an error of "missing value"?
The properties and classes related to "icon family" in Finder
scripting are not implemented in any version of Mac OS X.
Sorry,
--Dave
_______________________________________________
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