• 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: Getting an icon of an item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Getting an icon of an item (From: Jan Machalek <email@hidden>)

  • Prev by Date: Re: Change a File's Creation Date (OS 9.1)
  • Next by Date: Unsuscribe
  • Previous by thread: Getting an icon of an item
  • Next by thread: Re: Getting an icon of an item
  • Index(es):
    • Date
    • Thread