Re: another dumb question re Posix Path
Re: another dumb question re Posix Path
- Subject: Re: another dumb question re Posix Path
- From: peter <email@hidden>
- Date: Wed, 6 Aug 2003 14:28:43 +0200
Thank you John and Neil for giving me back my sanity.... (temporarily)
I have read everything in the developer docs re Posix path but still
didn't get it!
now I do
Thank you
Peter
On Wednesday, August 6, 2003, at 1:14 PM, Neil Faiman wrote:
If F is a string containing a POSIX path, then the AppleScript
construct
POSIX file f
yields a file reference, so
POSIX file F as Unicode text
gives you the corresponding HFS (colon delimited) path specification.
For example,
set f to "/Users/neil/Desktop/org.faiman.turbo-rip.plist"
POSIX file f as Unicode text
yields "Futura:Users:neil:Desktop:org.faiman.turbo-rip.plist".
-Neil Faiman
On Wednesday, August 6, 2003, at 06:59 AM, peter wrote:
Am I right in saying that the finder will only respond to colon
delimited paths?
i.e: {hard disk:Users:george:mildred:}
if this is the case, I know I have already asked this very BASIC
question but....
how in an AS application is one supposed to coerce the posix path
returned from an open panel to a format that the finder will be happy
with?
Sorry.............. but its driving me @#$%^&*()(*&^%$#!
thanks
Peter
_______________________________________________
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.