Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Gui +LastFound
- hWnd := WinExist()
- DllCall( "RegisterShellHookWindow", UInt,hWnd )
- MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" )
- OnMessage( MsgNum, "ShellMessage" )
- Return ; // End of Auto-Execute Section //
- ShellMessage( wParam,lParam ) {
- if (winactive()){
- ;osd show
- }
- else
- ;osd off
- }
Add Comment
Please, Sign In to add comment