I need to get a number a user inputs via scripting. Halp!
myDisplayDialog();
function myDisplayDialog() {
var myLabelWidth = 70;
var myDialog = app.dialogs.add({name:"Set Section Markers"});
with(myDialog.dialogColumns.add()){
with(borderPanels.add()){
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"First Page:"});
}
with(dialogColumns.add()){
currentPageNumbers = textEditboxes.add({editContents:""});
}
}
}
}
myDialog.show();
}
I have the code above and am trying to get the number a user inputs with my `currentPageNumber` variable, but it's not working. Can I get some help with how this needs to be to work?
Thanks
