• 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: Get a file's icon???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get a file's icon???


  • Subject: Re: Get a file's icon???
  • From: Marcus Jarrett <email@hidden>
  • Date: Fri, 8 Mar 2002 15:01:03 +1030

On 7/3/02 at 6:27 PM, email@hidden wrote:
Using Akua Sweets, try:

clip ((the icon for theFile) as picture)

HTH,

Marcus



>> -- Requires Sandi's Additons
>> on copyIconToClipboard(thisFile)
>> set thisFile to thisFile as string
>> tell application "Finder"
>> activate
>> set infoWindow to information window of alias thisFile
>> open infoWindow
>> TypeText tab
>> TypeText tab
>> TypeText "a" with Command
>> TypeText "c" with Command
>> close infoWindow
>> end tell
>> end copyIconToClipboard
>>
>> Victor
>
>That is great! Finally something that actually works!
>
>BUT...
>That active finder statement is not very pleasant. Imagine you are in
>FileMaker and you click on the button to get a certain file's icon and is
>flashes between the finder and FileMaker.
>
>I am pleased that it works but bummed that I am going to have lightning
>striking on the screen when using it.

--
Marcus Jarrett
Adelaide, South Australia
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: going to X and AS 1.8+
  • Next by Date: RE: Going to X (PhotoShop 7)
  • Previous by thread: Re: Get a file's icon???
  • Next by thread: Re: Get a file's icon???
  • Index(es):
    • Date
    • Thread