Re: get path of selected file
Re: get path of selected file
- Subject: Re: get path of selected file
- From: Matt Binkowski <email@hidden>
- Date: Wed, 03 Apr 2002 16:07:54 -0500
sorry. i am so wrong. it works fine now. i'll run back to the shadows now.
:)
try
tell application "Finder" to set pathToFile to (item 1 of (get
selection)) as alias as string
set the clipboard to pathToFile as text
-- or use this: display dialog pathToFile
end try
_______________________________________________
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.