• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Escape Character (was: no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Escape Character (was: no subject)
      • From: Jaime Magiera <email@hidden>
References: 
 >(no subject) (From: Hung Phan <email@hidden>)
 >Re: Escape Character (was: no subject) (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Extracting username and password from login
  • Next by Date: Re: scripting secure empty trash
  • Previous by thread: Re: Escape Character (was: no subject)
  • Next by thread: Re: Escape Character (was: no subject)
  • Index(es):
    • Date
    • Thread