Cancel / OK non-English Buttons
Hi all,
As well known when a dialog button string is "OK" or "Cancel" a default action occurs (1 is returned for OK and 2 for Cancel)
Is this true for non-English versions of Indesign?
I would presume let's say on the German version of InDesign on the built-in dialogs one see the terms OK and Abbrechen but does Cancel work? And out of curiosity does "Abbrechen" work?
var w = new Window('dialog'),
b1 = w.add('button', undefined, "OK"),
b2 = w.add('button', undefined, "Cancel");
alert((w.show() == 1) ? "OK" : "Cancel");
Thanks
Trevor
