Chantaro Posted July 23, 2021 Share Posted July 23, 2021 (edited) Greetings Occasionally Firefox will leave a black bar at the top when it's getting moved by the WinMove() function. This is of course fixed by dragging the window around manually, but it can mess with the positioning when you have a script set up to click on a certain part of a webpage in FF. Does anyone else experience this or know how to circumvent it? Kind Regards Chantaro Edited July 27, 2021 by Chantaro Link to comment Share on other sites More sharing options...
Nine Posted July 23, 2021 Share Posted July 23, 2021 I don't have FF. But you could try to use _WinAPI_RedrawWindow with parameter $RDW_INVALIDATE, see if that can solve your issue... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Chantaro Posted July 27, 2021 Author Share Posted July 27, 2021 Sadly didn't work, even when playing around with $RDW_VALIDATE or $RDW_UPDATENOW Link to comment Share on other sites More sharing options...
Solution Chantaro Posted August 26, 2021 Author Solution Share Posted August 26, 2021 I have managed to get a workaround solution going by adding a WinSetState("DocGenie Desktop - Mozilla Firefox", "",@SW_RESTORE) It sets the window to not maximized and lets me move it to the desired position "cleanly" 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