How do I modify the script to generate the controls vertically, its driving me nuts ...
Code: Select all
setBatchLines -1
xl:=0
lp:=0
yx := -5
;SetTimer,UPDATEDSCRIPT,1000
;outer loop number of row of boxes using xl++ in x axis , inner loop repeats number of rows of boxes 32 times in y axis
; important to null movex so starts 0
loop, 5 ;outer loop
{ ;1
xl ++
movex:=xl*100-100
;lp:=xl+lp
yx:=0
Loop, 16 ;inner loop
{
lp ++
yx += 35
Gui, Add, Edit, x%movex% y%yx% w90 h30 -Multi vKutu%lp%a,%lp%xx
}
} ;1