I am trying to automate a task using javascript, via menu command execution, like
app.executeMenuCommand ('Envelope Options');
Can I somehow modify the parameters of the operation that appear on the dialog box, by program, before the operation is applied ?