We Recommend

Beginning AppleScript (Programmer to Programmer) Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.


Posted By

dbug13 on 06/13/08


Tagged

textmate applescript


Versions (?)


get the path of the selected Finder item


Published in: AppleScript 


  1. tell app "Finder"
  2. set selectedItem to (posix path of (the selection as alias))
  3. end tell

Report this snippet 

You need to login to post a comment.