Re: Problem Escaping osascript Command
Re: Problem Escaping osascript Command
- Subject: Re: Problem Escaping osascript Command
- From: Rick Gordon <email@hidden>
- Date: Wed, 23 Jan 2008 01:15:54 -0800
This seems to work without error for me; so thanks for the help, Skeeve. But can you please help me understand the function of the \'' (backslash-apostrophe-apostrophe) before the "tell", and also the '\' apsotrophe-backslash-apostrophe at the end?
I don't understand how it can start with an unescaped apostrophe but end with an escaped one. There's something here that I haven't learned (and need to). Thanks.
Rick Gordon
------------------
On 1/23/08 at 9:29 AM +0100, Skeeve wrote in a message entitled
"Re: Problem Escaping osascript Command":
>Skeeve wrote:
>>alias reveal 'osascript -e '\''tell application "Finder" to reveal POSIX file "\!*"'\'
>The last two ' were a leftover from my experiments...
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
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