Code: Select all
Test = 1
OnMessage(0x5555, "MsgMonitor")
; this is the loop
loop
{
if Test = 1
{
msgbox, 4144, test, test
sleep, 60000
}
}
; this is what i want while that loop is happening
loop
{
MsgMonitor(wParam)
{
Test := %wParam%
}
}
Code: Select all
Test = 1
OnMessage(0x5555, "MsgMonitor")
; this is the loop
loop
{
if Test = 1
{
msgbox, 4144, test, test
sleep, 60000
}
}
; this is what i want while that loop is happening
loop
{
MsgMonitor(wParam)
{
Test := %wParam%
}
}
Users browsing this forum: Google [Bot], slowwd and 247 guests