How can I debug "Object is invalid" in InDesign CS5 panel?
i've made small panel access opentype features in ind. installs alright, if move new page when panel open, "an attached script generated following error: object invalid."
if close panel doesn't happen, , if remove panel doesn't happen, guess panel.
error or bug?
hi,
debugging not supported.
this issue looks bug, , there's workaround.
open folder panel exported.
find script file name <your panel name>.jsx
open text editor, find function "onattrmsg" , comment out these:
//---------------------------
function onattrmsg(event)
{
/*
var tool = new string(event.attributevalue);
writelog("onattrmsg " + tool);
var index = "$id/" + tool;
var menuaction = app.menuactions.item(index);
var id = menuaction.id;
writelog("onattrmsg - " + id);
csxsapp.handleattrmsg(id);
*/
}
this function used sync toolbar state when user switched tool, , looks cause conflict when new page added doucument.
after comment out, lost sync state ability of tool buttons on configurator generated panel, not hurt real response ability when click button.
regards
zhengping wang
More discussions in Configurator
adobe
Comments
Post a Comment