Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: ESTK string bug [CS5, CS5.5]

$
0
0

I'm foundonlyone safewayto use binary data in strings with ESTK:

Do not usea directassignment binary data to any variable in the body ofthe script, but you can get its as function result or put it as a function argument directly:

var s= "\x41\x42\x00\x44\x45"; // cause problems

but

var s = function() { return "\x41\x42\x00\x44\x45....." }; // notcause problems!!!

and then use s() anywhere;

or

var s = ScriptUI.newImage ("\x41\x42\x00\x44\x45....."); // for embeddingimage...

 

P.S.

sorryfor my english, I use google translate something where


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>