Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Applescript shell script 101' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Applescript shell script 101
Authored by: sjonke on May 01, '02 05:39:26PM

Well, precisely one lesson. You want to use "POSIX path". For example:

set someFile to choose file
get POSIX path of someFile

That will return the familiar unix style path to a file, folder or whatever. Note that you don't have to enter the capitalization - script editor will do that for you when you hit Enter, like it or not. :)



[ Reply to This | # ]