Code: Select all
lista=
(join|
script1
script2
script3
)
Gui, font, s10, Arial
Gui, Add, ListBox, x10 y10 w350 h600 vMyScript gRunScript, %lista%
Gui, Show
Return
RunScript:
Gui, Submit, Destroy
Run, % A_ScriptDir . "\" MyScript . ".ahk"
ExitApp
Return
If I press the cursor down on the keyboard, it just launch the first script
What I wanna do instead, is to be able to select my script using cursor arrows up/down then pressing enter.
Any solutions?
Thank you very much