Re: set selection to clipboard
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.