Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: OSADoScript returns encoding string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSADoScript returns encoding string



On 2007-05-24, at 07:44:57, Mark Thomas wrote:

I use OSADoScript to execute some Javascript which I send to the user's web browser via AppleScript for executing, which work's great. However I'm seeing that all results returned:-

1. Are always between double quotes e.g. "0"
2. If the result contains a double quote, it's gets encoded e.g. "hi \"fred\"."


Is there anyway to turn off this string encoding might assume cannot because the browser is always going to do this ?. (As when I get the resulting AppleEvent Descriptor, I request that I need this to be typeChar, and then extract the data into a memory buffer.)

Take a peek at: <http://developer.apple.com/documentation/mac/IAC/ IAC-352.html>



Philip Aker email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >OSADoScript returns encoding string (From: Mark Thomas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.