• 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: overrule space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overrule space


  • Subject: Re: overrule space
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Wed, 12 Jan 2005 09:53:20 -0600


On Jan 12, 2005, at 4:57 AM, Jan-Bultereys wrote:

hi,
.....
set filetosendpath_BEL to "cd /volumepath/TO SEND"
....
do shell script "" & filetosendpath_BEL & "; curl -T " & stuff_name_BEL & " " & ftpBELTEST & "" & stuff_name_BEL & ""


how can I overrule the space between "TO SEND"
BACKSLAH does not compile....
I need to overrule the space because as you can see the variable is addressed in
the "do shell script"

Here's a way:

set filetosendpath_BEL to quoted form of POSIX path of alias "volumename:TO SEND:"
--> "'/Volumes/volumename/TO SEND/'"


The quoted form is what you want. I chose to ask for the POSIX-style path of an alias, so that you could move the TO SEND folder and not have to update your script. You can decide if that's helpful or not.

_______________________________________________
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: overrule space
      • From: Bastiaan Boertien <email@hidden>
References: 
 >overrule space (From: "Jan-Bultereys" <email@hidden>)

  • Prev by Date: Re: Pages program = unscriptable
  • Next by Date: Re: Pages program = unscriptable
  • Previous by thread: overrule space
  • Next by thread: Re: overrule space
  • Index(es):
    • Date
    • Thread