JohnBailey Posted November 7, 2007 Author Share Posted November 7, 2007 Yea... I was going to dig up this topic and post the link to that hooker topic, but then opted for taking a nap instead... Good that you found it and it works for you.hahahaha! Yeah, thanks for getting that on the forums! It's a way better method for the things I do. You set it up REALLY nice. Manipulating taskbar buttons is pretty easy with Auto3Lib's Toolbar wrappers.NO WAY NO WAY!! I never freakin' saw that hahahahahahaha. It was sitting in my includes folder the whole time hahahaTHANK YOU Siao!ALL,Thanks for the help! I hope this helps some other fellows out there too A decision is a powerful thing Link to comment Share on other sites More sharing options...
Orgasim Posted October 14, 2010 Share Posted October 14, 2010 (edited) How would this be applied to only look for specific programs, no matter what the window is named. Then Winactivate that window and then maximize it? Eg. There is 4 Notepad windows, each time all 4 are launched there name is different and unpredictable, but they were all launched from notepad.exe, When one flashes it will be automatically Activated and made full screen. But it also needs to be able to be toggled on and off with a single hotkey(this i also need to figure out). Are you able to adapt something to achieve this? (Bump) Edited October 14, 2010 by Orgasim Link to comment Share on other sites More sharing options...
newbie2019 Posted October 4, 2019 Share Posted October 4, 2019 I'm using this approach: ;ShellHook notification codes: Global Const $HSHELL_FLASH = 32774; Global $bHook = 1 ;GUI stuff: Global $hGui = GUICreate("", 1, 1, -100, -100) ;Hook stuff: GUIRegisterMsg(RegisterWindowMessage("SHELLHOOK"), "HShellWndProc") ShellHookWindow($hGui, $bHook) Func HShellWndProc($hWnd, $Msg, $wParam, $lParam) Switch $wParam Case $HSHELL_FLASH MsgBox(0, 'Title', '' & $lParam & " (" & WinGetTitle($lParam) & ")" & @CRLF) .... EndIf EndSwitch EndFunc But what If I need to check window which is already flashed in background and I want to run this script after? Could anybody help with it? __ Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now