Code: Select all
set ackb to Hex2Str ("14 EB")
Code: Select all
error "Can’t make some data into the expected type." number -1700
CoolTerm 1.4.6
Script editor Version 2.8.1 (183.1)
AppleScript 2.5
OSX 10.11.6 (15G1004)
A similar AppleScript worked fine about 18 months ago, but now returns the same error.
Manually entering the hex digits in the CoolTerm "Send String" window works fine.
A little experiment shows that Hex2Str works for values <= 127 (0x7F) and fails for greater values.
So it appears that something is enforcing a 7 bit limit for characters now.
Is there a way around this?
Thanks, CoolTerm and AppleScript make for a very useful tool.