• 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: Get UNIX path of selected file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Get UNIX path of selected file (From: Shane Stanley <email@hidden>)

  • Prev by Date: How do you force Finder to update changes in a folder
  • Next by Date: Re: Get UNIX path of selected file
  • Previous by thread: Re: Get UNIX path of selected file
  • Next by thread: Re: Get UNIX path of selected file
  • Index(es):
    • Date
    • Thread