gvp9000 Posted June 17, 2018 Posted June 17, 2018 How can I run PointerFocus ( www.pointerfocus.com) minimized ? I've tried any possible way but no luck ... any suggestions ?
Moderators JLogan3o13 Posted June 17, 2018 Moderators Posted June 17, 2018 18 minutes ago, gvp9000 said: I've tried any possible way but no luck ... So how about posting all the different ways you have tried "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
gvp9000 Posted June 17, 2018 Author Posted June 17, 2018 (edited) Even with this (WinMinimizeAll()) doesn't work, let anone the @SW_HIDE, WinSetState etc Example() #include <Array.au3> #include <WinAPIProc.au3> #Include <WinAPIEx.au3> Func Example() ; Run PointerFocus. Local $iPID_PointerFocus = Run("C:\Users\Documents\Apps\PointerFocus\PointerFocus.exe", "C:\Users\Documents\Apps\PointerFocus\", "", @SW_HIDE) Do Sleep(200) Until $iPID_PointerFocus <> 0 ;============== WinMinimizeAll() ;============== Sleep(1000) ; rest of the code EndFunc ;==>Example Edited June 17, 2018 by gvp9000
gvp9000 Posted June 17, 2018 Author Posted June 17, 2018 Local $hWnd = WinGetHandle("[CLASS:WindowsForms10.Window.8.app.0.378734a]") ; WinActivate("[CLASS:WindowsForms10.Window.8.app.0.378734a]", "") WinSetState($hWnd, "", @SW_HIDE) It doesn't work either ...
gvp9000 Posted June 17, 2018 Author Posted June 17, 2018 I find it Local $hWnd = WinGetHandle("---") WinActivate($hWnd, "") WinSetState($hWnd, "", @SW_HIDE)
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