Get default icon of document/application/folder programmatically
Get default icon of document/application/folder programmatically
- Subject: Get default icon of document/application/folder programmatically
- From: Kevin Walzer <email@hidden>
- Date: Sun, 13 Nov 2005 16:48:59 -0500
- Organization: WordTech Software
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"?
Thanks for any advice.
--
Cheers,
Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
_______________________________________________
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