Like, you wanna make some customised 'Tab' window where you can add or delete one or more tabs as per the requirement, You need to save a list of all the tabs in a file and then read it each time you launch your script:
Loop, Read, settings.ini
{
mainTabNames= %A_LoopReadLine% | %mainTabNames%
}
Gui,font,S12 cGreen,Calibri
Gui, Add, Tab,x%mainTabX% y%mainTabY% w%mainTabWidth% h%mainTabHeight%, %mainTabNames%
Gui,Show
Note: the tabs will be added in reverse order of the index of lines in the file.
No comments:
Post a Comment