Re: mac to unix path names
Re: mac to unix path names
- Subject: Re: mac to unix path names
- From: Ben Waldie <email@hidden>
- Date: Fri, 2 May 2003 10:16:26 -0400
Carl,
On Friday, May 2, 2003, at 09:57 AM, Carl Albrecht-Buehler wrote:
on 05/02/2003 8:17 AM, Ben Waldie wrote:
Give this a try...
set theMacOSPath to "Macintosh HD:Users:Shared:"
set theUnixPath to POSIX path of theMacOSPath
Thanks a whole lot, Ben; that's just about the trick I was looking
for! I
have one concern though: This example yields the result of "/Macintosh
HD/Users/Shared/". Is this path correct? Is the Users folder not
actually
simply a directory underneath "/"? I tried checking this by opening a
terminal and typing in this path, and get "No such file or directory".
This
would make sense because there is no directory by the name of any disk
under
"/" Thanks,
I just did a quick test. When I ran this script on my machine, I got
"/Users/Shared/". Perhaps someone else can shed some light on why this
may be occurring on your machine. I'm using OS 10.2.5, though I don't
think that would make a difference.
- Ben
Benjamin S. Waldie
Automated Workflows, LLC
=============================================
AppleScript and Workflow Automation
Consulting - <
http://www.automatedworkflows.com>
AppleScript Info - <
http://www.applescriptguru.com>
AppleScript Training - <
http://www.applescripttraining.com>
=============================================
_______________________________________________
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.