Re: Getting an icon of an item
Re: Getting an icon of an item
- Subject: Re: Getting an icon of an item
- From: Paul Skinner <email@hidden>
- Date: Mon, 27 Aug 2001 15:51:29 -0400
on 8/27/01 3:03 PM, Jan Machalek wrote:
>
Hello all,
>
>
Is there a way to copy an icon (as an image) to clipboard?
>
>
In as much as I try, all my efforts are in vain...
>
>
Since it works manually through the Get Info window, can it be scripted?
>
>
Thanks a lot,
>
>
>
Jan Machalek
tell application "Finder"
set theIconData to icon of file ((choose file) as text)
end tell
--
"'If you put butter and salt on it, it tastes like salty butter.'"
-- Terry Pratchett, concerning popcorn - Moving Pictures