• 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: Shell Script's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell Script's


  • Subject: Re: Shell Script's
  • From: Doug McNutt <email@hidden>
  • Date: Sun, 9 Mar 2008 22:09:37 -0600

At 23:48 -0400 3/9/08, Mark J. Reed wrote:
>On Sun, Mar 9, 2008 at 11:38 PM, Connor DiPietro <email@hidden> wrote:
>> Hi
>>  I am trying to make and an application in Xcode written in
>>  applescript, and when someone clicks a button i want to preform a
>>  shell script. i Am having difficulty preforming the shell script
>>  (let's say x's represent the shell script)
>>
>
>To include double quotes inside a string in AppleScript, escape them
>with a backslash, e.g.
>
>do shell script "xxxxxxxxxxx\"xxx\"xxxxx xxx xxx"

Yeah. But be careful because AppleScript itself is likely to interpret the backslashes which can require that the backslashes be escaped with yet more backslashes.

Learn about "quoted form of".  There's an app note about it by Chris Nebel.
--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Shell Script's
      • From: Paul Berkowitz <email@hidden>
References: 
 >Shell Script's (From: Connor DiPietro <email@hidden>)
 >Re: Shell Script's (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Shell Script's
  • Next by Date: Re: Shell Script's
  • Previous by thread: Re: Shell Script's
  • Next by thread: Re: Shell Script's
  • Index(es):
    • Date
    • Thread