Re: New plist File
Re: New plist File
- Subject: Re: New plist File
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 2 Feb 2011 15:15:32 -0600
- Acceptlanguage: en-US
- Thread-topic: New plist File
Title: Re: New plist File
>>Nope. Type log quote and run it. Here is the output.
>> (*"*)
You say potato, I say potato?
If quote is in an appleScript variable, it’s escaped. “\””
If it’s displayed (as in the log) it’s not escaped. (*”*)
If you wanted to replace the part of your script where you use quote with a quote you would have to escape it.
set quotingKey to quote & "hello world" & quote
-->"hello world"
set quotingKey to "\"" & "hello world" & "\""
-->"hello world"
set quotingKey to "\"hello world\""
-->"hello world"
----------
set quotingKey to quote & "hello world" & quote
log quotingKey
(*"hello world"*)
return quotingKey
-->"\"hello world\""
This last bit gives you a different look in the log and the result window.
ES
_______________________________________________
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