Re: Basic question - Getting Mac path to file
Re: Basic question - Getting Mac path to file
- Subject: Re: Basic question - Getting Mac path to file
- From: Tim Mansour <email@hidden>
- Date: Mon, 31 Jan 2005 23:52:26 +1100
On 31 Jan 2005, at 11.19 pm, Bernardo Hoehl wrote:
This is very basic, please forgive me for being so stupid, but I can't
find the answer on my books:
set x to "/Users/bernardo/Desktop/1.txt"
POSIX path of x
returns ---> "/:Users:bernardo:Desktop:1.txt"
You've just got it the wrong way round, Bernardo. Try this:
set x to "harddiskname:Users:bernardo:Desktop:1.txt"
POSIX path of x
--> "/Users/bernardo/Desktop/1.txt"
--
Tim Mansour <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden