Posted By

miklophone on 05/29/07


Tagged

POSIX hfs


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mathwrath


Unix/HFS path conversion


 / Published in: AppleScript
 

URL: http://applescriptsourcebook.com/viewtopic.php?pid=46908

  1. set theUnixPath to "/Users/Shared/"
  2. (POSIX file theUnixPath) as string
  3. --> "Macintosh HD:Users:Shared:"
  4.  
  5. set theMacOSXPath to "Macintosh HD:Users:Shared:"
  6. POSIX path of theMacOSXPath
  7. --> "/Users/Shared/"

Report this snippet  

You need to login to post a comment.