On 05.3.8 2:48 PM, "Joseph Weaks" <email@hidden> wrote:
> On Mar 7, 2005, at 10:33 PM, nkoni wrote:
>> I'm trying scripting in appleScript,
>> but I could not script """ (quote) in appleScript.
>>
>> (in HyperTalk, it is written as "quote")
>>
>> such as...
>>
>> set theID to "tableDataProperty"
>> set str to "<td id=>" & quote & theID & quote & "</td>"
>
> You need to escape the quotes within a string... by putting a backslash
> in front of it as in \"
> So, your example would be
>
> set theId to "tableDataProperty"
> set str to "<td id=>\"" & theId & "\"</td>"
>
> --Result: <td id=>"tableDataProperty"</td>
Japanese environment of Mac OS X has been having sevior *bug* in processing
yen & back slash character to quote. I want to recommend to write like
this....
set qChar to ASCII character 34
set theId to "tableDataProperty"
set str to "<td id=>" & qChar & theId & qChar & "</td>"
--Result: <td id=>"tableDataProperty"</td>
--
Takaaki Naganoya
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden