spuuunit Posted February 8, 2013 Author Posted February 8, 2013 I've now managed to fix this in a really easy way. For my scenario, this works really well: AutoItSetOption ("WinTitleMatchMode", 2) WinMove ("Mozilla Firefox", "", 10, 10, 400, 400) So, if there is any window with the text "Mozilla Firefox" in their title, then it shrinks that window. But anyway, thanks for all the help guinness. Appreciated.
FireFox Posted February 8, 2013 Posted February 8, 2013 (edited) #include <Process.au3> AutoItSetOption("WinTitleMatchMode", 2) Global $aWl, $iWnd $aWl = WinList("Mozilla Firefox") For $iWnd = 1 To $aWl[0][0] If _ProcessGetName(WinGetProcess($aWl[$iWnd][1])) = "firefox.exe" Then WinMove($aWl[$iWnd][1], "", 10, 10, 400, 400) ExitLoop EndIf Next Edited February 8, 2013 by FireFox
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