ScriptUI reference?
I still havn´t really figured ScriptUI out. From what i have understood its used for all adobe software to make the interfaces. And i guess thats why i cant find much reference in the indesign pdfs.
There seem to be three different ways of coding a dialog:
var myDlg = new Window('dialog', 'test');
myDlg.add('staticText', undefined, 'Test');
myDlg.show();
---
var myDlg = app.dialogs.add({name:"Test"});
with(myDlg.dialogColumns.add()) {
staticTexts.add({staticLabel:"Test"});
}
myDlg.show();
---
var myDlg = new Window("dialog { \
test: StaticText { text: 'Test' } \
}");
myDlg.show();
---
They all give prety much the same result, I prefer the first one.
The problem I had right now was that when I add some checkboxes to a dialog they all stack on top of each other, but when i put them in a group, they float left like CSS float: left.
But the big question is if there is a good reference so i can find it my self?
