Re: do shell script - quotation marks problem
Re: do shell script - quotation marks problem
- Subject: Re: do shell script - quotation marks problem
- From: Doug McNutt <email@hidden>
- Date: Sat, 18 Dec 2004 10:58:14 -0700
At 18:43 +0100 12/18/04, Armin Egginger wrote:
>I want to send a do shell script by apple script and have a problem with the quotation marks
>
>only for example:
>do shell script " grep Volumename | cut -d " " -fl"
>
>This doesn't function. The quotation marks between the d and -fl stop the compilation and gives an error back. Is it possible to send this kind of command by applescript? Any idea or solution?
You need to escape the secondary quotes.
Read <http://developer.apple.com/technotes/tn2002/tn2065.html>
Look for the "quoted form of" command.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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