• 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 the icon to the clipboard?????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get the icon to the clipboard?????


  • Subject: Re: Get the icon to the clipboard?????
  • From: Robbie Newton <email@hidden>
  • Date: Thu, 07 Mar 2002 20:35:55 -0500

> leave out the clipboard altogether and just tell the
> other app to do whatever with 'myIcon'.

That was a thought, but with the script that I posted originally, that you
were referring to, does not work. It gets the icon family. Not the actual
pixels of the image of the icon.

Victor Yee eat solution that uses Sandi's Additions

-- 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

The problem with that is that it requires the clipboard so it flashes back
and forth between FileMaker and the Finder. Yes I know... The subject of the
discussion was copy the icon to the clipboard. But I didn't realize that you
could not use the clipboard in the background. Bummer.

Any ideas on how to get rid of the clipboard and send it directly to
FileMaker? (FileMaker is very scriptable) I would just set a container field
in the DB to a value of the icon. (doing that from the AS)

TIA
-Robbie
_______________________________________________
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.

  • Follow-Ups:
    • Re: Get the icon to the clipboard?????
      • From: Reinhold Penner <email@hidden>
References: 
 >Re: Get the icon to the clipboard????? (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: Get a file's icon???
  • Next by Date: Re: Get the icon to the clipboard?????
  • Previous by thread: Re: Get the icon to the clipboard?????
  • Next by thread: Re: Get the icon to the clipboard?????
  • Index(es):
    • Date
    • Thread