• 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
How to Use Quotes as Part of Literal Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Use Quotes as Part of Literal Text


  • Subject: How to Use Quotes as Part of Literal Text
  • From: Jim Main <email@hidden>
  • Date: Tue, 19 Oct 2004 14:27:22 -0700

I'm trying to use curl in a do shell script. I need to use quotes
around some of the parameters, but this is getting interpreted as the
end quote for the do shell script part:

tell application "FileMaker Pro"
	set cell "gResult" of current record to (do shell script "curl
ftp://ipaddress/index.html -# -t "Local Drive:index.html" -u
"username:password"")
end tell

I run into the same problem if I try to set a variable:

set ScriptToRun to "curl ftp://ipaddress/index.html -# -t "Local
Drive:index.html" -u "username:password""


How do you set something to include a quote as text, instead of it demarking the text of what you want set?


Jim Main ------------------------------------------- 714-516-8199 619-948-5293 email@hidden -------------------------------------------

_______________________________________________
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: How to Use Quotes as Part of Literal Text
      • From: Christopher Nebel <email@hidden>
    • Re: How to Use Quotes as Part of Literal Text
      • From: Johnny AppleScript <email@hidden>
  • Prev by Date: Re: Convert Case and Remove Space
  • Next by Date: Re: How to Use Quotes as Part of Literal Text
  • Previous by thread: RE: Where did the desktop folder go? SOLVED
  • Next by thread: Re: How to Use Quotes as Part of Literal Text
  • Index(es):
    • Date
    • Thread