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 09:17:31 -0400
Carl,
On Friday, May 2, 2003, at 09:03 AM, Carl Albrecht-Buehler wrote:
So the long and the short of the question is, how can I change an
MacOS file
path name with colons to a Unix path name? My current strategy has
been to
deal with it just through string manipulation, but I'm hoping there is
a
more direct way since this has limitations and is rather convuluted.
I'm
using OS 10.2.4 with AppleScript 1.9 on an 800MHz iBook
Give this a try...
set theMacOSPath to "Macintosh HD:Users:Shared:"
set theUnixPath to POSIX path of theMacOSPath
- 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.