• 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: set selection to clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set selection to clipboard


  • Subject: Re: set selection to clipboard
  • From: Graff <email@hidden>
  • Date: Thu, 18 Dec 2003 19:14:29 -0500

This seems to work:
tell application "Finder" to set source_item to selection

- Ken

On Dec 18, 2003, at 6:32 PM, Guillaume Iacino wrote:

Hi,

I have a very basic question but I cannot find the answer.

I want to create a script for the menu script which will copy into the clipboard the path of the item or folder of the front window.

My problem is that I cannot find the word to use to get the selected item.

For the folder I have:
tell application "Finder" to set the source_folder to (folder of the front window) as alias

But:

set the source item to selection does not work.

Any insights will be much appreciate.

Thank you.

Guillaume
_______________________________________________
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.
_______________________________________________
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.

References: 
 >set selection to clipboard (From: email@hidden (Guillaume Iacino))

  • Prev by Date: Re: Chack keys pressed
  • Next by Date: Re: what have the Romans ever done for us?
  • Previous by thread: set selection to clipboard
  • Next by thread: Re: set selection to clipboard
  • Index(es):
    • Date
    • Thread