Copy link to clipboard
Copied
I have been using the JSON scripting functions downloaded from:
http://www.tonton-pixel.com/blog/json-photoshop-scripting/
for fetching a layer style and then resetting parameters in that layer style, in a javascript program.
All was working fine, but suddenly when I run these scripts they are interrupted by an error during one of the JSON functions. It's very odd as I'm running old jsx programs that were fine a few days ago, but now they fail. I wondered whether I might inadvertently have edited one of the .jsxinc files, but the dates on all the .jsxinc files are 2 or 3 months ago so that doesn't seem to be the reason.
I'm running Photoshop CS6.
Can anyone suggest what is going on here? It's very puzzling - working fine one day and not the next...

This has already happened to me in the past when I was running a script from the ExtendScript Toolkit and had "Do Not Break on Guarded Exceptions" menu item *unchecked* in the "Debug" menu...
HTH,
--Mikaeru
Copy link to clipboard
Copied
This has already happened to me in the past when I was running a script from the ExtendScript Toolkit and had "Do Not Break on Guarded Exceptions" menu item *unchecked* in the "Debug" menu...
HTH,
--Mikaeru
Copy link to clipboard
Copied
Hey, thank you Mikaeru,
Normality restored!
I guess I must have somehow toggled that "Do not break..." flag without noticing it; not particularly hard since it's in a menu that is often used. Phew!
Thanks again!
Marcus
Find more inspiration, events, and resources on the new Adobe Community
Explore Now