Re: Shell Script's
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