XTension build 866

James Sentman james at sentman.com
Sun Nov 23 13:09:06 EST 2014


I wouldn't be surprised if there was something going on there, applescript changed again how it's handling some of the backing structures and what you have to do to convert around. I will do some testing of this shortly. Strings are such a pain now that they aren't just ascii anymore! But at least we can render every character ever used by man in an alphabet... Thanks for the bug report I may have a testing version for you to test in the next day or 2.


> On Nov 23, 2014, at 10:00 AM, Ger Determan <Ger.Determan at xs4all.nl> wrote:
> 
> Using the latest Yosemite, XTension build 866 is working ok for me, except for the DIY DataAvailable handler, using theDataAsString parameter.
> 
> The handler starts with
> 
> try
>    if (TheDataAsString starts with ">") or (TheDataAsString starts with "->") then
>       ….
> 
> From there I get an error (a write log from the Try - On Error statement in it)
> 23-11-14 14:25:23 Can’t make «data tdta4F4B20363620373620363820383220363120302032303620330D» into type Unicode text. error nr: -1700
> 
> The received raw data is ( also from the log window)
> received raw data (OK 66 76 68 82 61 0 206 3)
> 
> This worked correctly in build 854, I didn’t test any of the builds between 854 and 866.
> 
> It’s easy to build a string from the theDataAsBytes, so I have a work-around.
> 

Thanks,
 	James


James Sentman                       http://sentman.com		http://MacHomeAutomation.com





More information about the XTensionList mailing list