Re: Escape Character (was: no subject)
Re: Escape Character (was: no subject)
- Subject: Re: Escape Character (was: no subject)
- From: Christopher Nebel <email@hidden>
- Date: Thu, 13 Jul 2006 12:21:15 -0700
On Jul 11, 2006, at 12:43 PM, Jaime Magiera wrote:
On Jul 11, 2006, at 2:46 PM, Hung Phan wrote:
I wrote a login script to mount a shared volume.
open location "afp://user:pass@server/Testing Volume"
There is a space between Testing and Volume, how do I escape the
space character?
You can use the traditional UNIX escape character...
open location "afp://user:pass@server/Testing\ Volume"
You could, but it wouldn't work. This is a URL, not a sh command
line. The correct way to represent a space in a URL is with " ",
so in your case "afp://user:pass@server/Testing Volume".
--Chris Nebel
AppleScript Engineering
_______________________________________________
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