我正在使用Adobe Illustrator CS5和ExtendScript Toolkit CS5.
我有一个非常复杂的脚本和alert()不再工作,因为东西在循环中.如何模拟我使用特定Illustrator文档的事实,以便我可以使用ExtendScript Toolkit的调试功能?
我希望它与在Illustrator文档中并且使用"File-> Scripts-> Scriptname"相同.如果我只是在ExtendScript中测试脚本,我会收到错误
if (app.documents.length > 0) {
Run Code Online (Sandbox Code Playgroud)
谢谢!