The Script intendent for photoshop and not to bridge. I tried to remove the comments before the export to bin...
when I try to run the script, ESTK stops and Highlight the code and the console return: "result:0"-( Check out the screenshoot )
when i try to run the jsxbin script as is (without embad) its working fine. the problem is when i try to embad it in jsx file.
where is the problem?
From the toolkit guide…
path: The name and location of the file.
timeout: Optional. A number of milliseconds to wait before returning undefined, if the script cannot be evaluated. Default is 10000 milliseconds.
Do you not have the toolkit guide PDF? It covers all the inter-app, file system access, bridgetalk stuff including the $ object…
Could you give an overview of what this script is intended to do and where you are calling it from?
As a side note, if you export a binary code with, say, ESTK CS5, it will run properly in PS CS5 only.
If you need it to make it work with legacy versions, you have to use the older one, AFAIK (so for instance, I've been using ESTK 18.104.22.168 to export scripts that need to run from CS3 to CS5).
That said something like,
never gave me any trouble.