Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.63k stars 831 forks source link

VulcanInterface class not working in CEP_HTML_Test_Extension-10 #507

Open ten-A opened 10 months ago

ten-A commented 10 months ago

When we call getTargetSpecifiers() method, W get the following message on the debugger and Target Specifiers are not displayed.

"VM266:1 Uncaught SyntaxError: Unexpected end of JSON input"

var targetSpecifiers = VulcanInterface.getTargetSpecifiers(); //Call method in vulcan.html/line:229

return JSON.parse(window.__adobe_cep__.invokeSync("vulcanGetTargetSpecifiers", JSON.stringify(params))); //vulcan.js/line:35

ErinFinnegan commented 10 months ago

Hello again @ten-A !

To clarify - this is something within the Test Extension, correct?

Which app(s) did you try it with? (Photoshop? Illustrator?) Was it using an M1 mac (or greater)?

You mention the debugger - you mean the VSCode ExtendScript Debugger plugin, right? Does a different result happen using the ExtendScript ToolKit? (Understandable if you can't test in this environment.)

cc: @sujaisivanandan

ten-A commented 10 months ago

Hi, Erin, As stated in the title, this is "CEP_HTML_Test_Extension-10", which was most recently downloaded and installed from "https://github.com/Adobe-CEP/CEP-Resources/tree/master/CEP_11.x". It is tested on macOS 13.6.3/Intel, Illustrator 28.0 and InDesign 19.0, Google Chrome was used for debugging.

TargetSpecifiers is not obtained after Illustrator 2022 (ver.26) in my test environment.