Is it possible to script a tabbed ui like this, i can't seem to get it to work, please help...
Cheers Daniel.
My script for now:
#target illustrator
tabbed_ui();
//Functions
function tabbed_ui(){
res =
"dialog {text:'Adres database:', properties:{resizeable:false }, \
maintabpanel: TabbedPanel { text:'', \
subtab1panel: Tab { text:'Tab1', \
}, \
subtab2panel: Tab { text:'Tab2', \
}, \
}, \
}";
wininfo = new Window (res);
wininfo.frameLocation = [100, 100];
wininfo.margins = 0;
// Control Escape key
wininfo.addEventListener('keydown', function (k) {
if (k.keyName == 'Escape') {
wininfo.close();
}
});
wininfo.center();
wininfo.show();
};