Re: do shell script - quotation marks problem
Re: do shell script - quotation marks problem
- Subject: Re: do shell script - quotation marks problem
- From: Bill White <email@hidden>
- Date: Sat, 18 Dec 2004 12:59:29 -0500
On 12/18/04 12:43 PM, Armin Egginger <email@hidden> wrote:
> 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?
To use a literal quotation mark, put a backslash character \ before it, like
this:
do shell script " grep Volumename | cut -d \" \" -fl"
Or something like: display dialog "Look, it's \"Santa Claus\""
HTH,
Bill
_______________________________________________
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