Re: Get UNIX path of selected file
Re: Get UNIX path of selected file
- Subject: Re: Get UNIX path of selected file
- From: Dave Balderstone <email@hidden>
- Date: Wed, 03 Apr 2002 18:35:31 -0600
At 10:02 AM +1000 4/4/02, Shane Stanley wrote:
>
tell application "Finder"
>
set theFile to item 1 of selection as alias
>
end tell
>
quoted form of POSIX path of theFile
I assign you a two beer penalty. I'll collect in May. <s>
get item 1 of selection as alias
--> Can't make item 1 of selection of application "Finder" into a alias.
This works:
tell application "Finder"
set theFile to selection as alias
end tell
quoted form of POSIX path of theFile
Running 1.8.2 on OS X 10.1.3
djb
_______________________________________________
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.