Answered
I'm running the following from the console
app.addToolButton({cName: "BatchEdit", cExec:" app.execMenuItem(“BatchEdit”);",cTooltext:"Run Batch"});
I want to add a toolbar button to open the Batch Processing window, but this code isn't working. All I get is a button that doesn't do anything. What's wrong?
When the button is pressed I get "illegal character 1:App:Exec".
Also, is there a way to have the button set up to specify a sequence to run? If not opening the batch sequence menu is enough.
app.addToolButton({cName: "BatchEdit",
cExec:"app.execMenuItem(\"BatchEdit\");",
cTooltext:"Run Batch"});
You may also have to deal with secruity restrictions added by version 8.
George Kaiser