• 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: Steve Mills <email@hidden>
  • Date: Fri, 19 Dec 2003 01:32:08 -0600

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

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.

I'm confused. It sounds like you're trying to do two things; get the path of the selected item[s], and get the path of the frontmost window. If the first, get the "selection". If the second, get the "target" of the "Finder window". See Finder's dictionary.

Steve Mills
Drummer, Mac Geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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: Sorting IP addresses
  • Next by Date: Re: Sorting IP addresses
  • Previous by thread: Re: set selection to clipboard
  • Next by thread: [OT] Re: what have the Romans ever done for us?
  • Index(es):
    • Date
    • Thread