Code: Select all
#Persistent
Splashimage, ,M2 cwolive, test
ButtonCancel:
ExitApp
return
Code: Select all
#Persistent
Splashimage, ,M2 cwolive, test
ButtonCancel:
ExitApp
return
Code: Select all
#Persistent
Splashimage, ,M2 cwolive, test
esc::exitapp
Code: Select all
Splashimage, ,M2 cwolive, test
WinWaitClose,% A_ScriptName
ExitApp
Thank you Rohwedder but it doesn't close the scriptRohwedder wrote: ↑12 Dec 2020, 08:52Hallo,
try:Code: Select all
Splashimage, ,M2 cwolive, test WinWaitClose,% A_ScriptName ExitApp
Code: Select all
#Persistent
Splashimage,, M2 cwolive, test
Return
ButtonCancel:
ExitApp
Code: Select all
#Persistent
Splashimage,, M2 cwolive, test
Code: Select all
#Persistent
Splashimage,, M2 cwolive, test
Return
ButtonCancel:
ExitApp
Code: Select all
#Persistent
Splashimage,, M2 cwolive, test
Code: Select all
;- Keep the script open until we close the notification
;- https://www.autohotkey.com/boards/viewtopic.php?p=369950#p369950
Gui,1: -dpiscale
Gui,add,button,x20 y50 h30 gA1,SPLASHimage
Gui,show,x100 y100 w500 h100,TEST
return
;------------
A1:
Splashimage, ,M2 cwolive, test
WinWaitClose,% A_ScriptName
exitapp
;------------
Guiclose:
exitapp
;------------