Re:open afp location
Re:open afp location
- Subject: Re:open afp location
- From: Doug McNutt <email@hidden>
- Date: Tue, 11 Jul 2006 13:52:08 -0600
At 11:46 -0700 7/11/06, Hung Phan wrote:
> open location "afp://user:pass@server/Testing Volume"
>There is a space between Testing and Volume, how do I escape the space character?
"afp://user:pass@server/Testing\ Volume"
The backslash is the usual escape character in UNIX-like stuff. But in a shell the enclosing quotes would have done the same thing.
Note that AppleScript also uses the \ character so you MAY need:
"afp://user:pass@server/Testing\\ Volume"
Depending on which application is processing the open location command.
I don't know if you can use "quoted form of" when the target is not a local file but it would be more portable if it works and it would handle the \\ thing if you need it..
And watch for gremlins!
If that afp volume is on a Mac OS 8 or less volume - AND - you're running Tiger it will not work.
--
Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.
_______________________________________________
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