Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > super simple st...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1607 of 1611
Post > Topic >>

super simple string question.

by Jason8 <jason.leach@[EMAIL PROTECTED] > Apr 30, 2008 at 08:08 PM

Hi:

I'm having no luck passing an escaped (spaces) path to a shell script:

set myPath to (POSIX path "/User/foo/Some Folder/My File.pdf"

do shell script "foo " * myPath

The shell script then thinks it is getting too many arguments because
of the space. The shell script works fine if I escape them at the
command line; but I can seem to escape them in my AppleScript string.




 2 Posts in Topic:
super simple string question.
Jason8 <jason.leach@[E  2008-04-30 20:08:09 
Re: super simple string question.
Jolly Roger <jollyroge  2008-04-30 22:12:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 17:20:49 CDT 2008.