Code: Select all
mainmenue:
Gui, new
Gui, Add, Text , x140 y270 +BackgroundTrans, F1
Gui, Add, Button, gf1a x190 y270 w250 h40, &Load
Gui, Show, w1280 h720
Return
f1a:
FileSelectFile , F1 ,x190 y270 w250 h40,, Select an image:, Images (*.exe; *.de; *.com; *.net; *.org; *.io; *.bat)
;if not file
; return
gui,submit
gosub, home
Return
F1:
F1::Run "%F1%"
Gosub, mainmenue
Return
home:
gui, submit
IniWrite, %F1%, Settings.ini, Fshortcut, F1
IniRead, F1, Settings.ini, Fshortcut, F1
Return