POSIX path don't work - why? any tipp?
POSIX path don't work - why? any tipp?
- Subject: POSIX path don't work - why? any tipp?
- From: Armin Egginger <email@hidden>
- Date: Sun, 27 Feb 2005 11:23:22 +0100
Hi Scripters,
I using the command "POSIX path" of AS in my project, but this doesn't work correct by names with spaces in it.
example script
set xRef to choose folder
log xRef
set xUnixPath to (POSIX path of xRef)
log xUnixPath
if (xUnixPath as string) starts with "/\"" then
beep
else
beep 3
end if
result:
tell current application
choose folder
alias "MacHD:Applications:FileMaker Pro 6:"
(*alias MacHD:Applications:FileMaker Pro 6:*)
(*/Applications/FileMaker Pro 6/*)
beep 3
end tell
must be with quotation marks like this:
/"Applications/FileMaker Pro 6/"
is there a easy way to do it?
many thanks for your tipps.
Armin
_______________________________________________
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