Re: Get UNIX path of selected file
Re: Get UNIX path of selected file
- Subject: Re: Get UNIX path of selected file
- From: Shane Stanley <email@hidden>
- Date: Thu, 04 Apr 2002 10:02:16 +1000
On 4/4/02 9:31 AM +1000, Dave Balderstone, email@hidden,
wrote:
>
Is there an easy way to get the Unix path of a finder selection? I want to
>
pass it to the terminal.
tell application "Finder"
set theFile to item 1 of selection as alias
end tell
quoted form of POSIX path of theFile
"quoted form" probably requires 1.8.2bX.
--
Shane Stanley, email@hidden
_______________________________________________
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.