#uselib "user32.dll" #func SetTimer "SetTimer" int,int,int,int #func KillTimer "KillTimer" int,int onexit *exit oncmd gosub *OnTimer, 0x0113 repeat SetTimer hwnd, 1, 500, 0 wait 200;←これが効かない mes cnt loop *OnTimer KillTimer hwnd, 1 mes "OnTime" return *exit KillTimer hwnd, 1 END