WillFerraz Posted February 23, 2021 Share Posted February 23, 2021 Hello everyone! Im trying to write text on multiple and specifics notepads at same time when all are minimized Have some way on autoit to do that? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted February 23, 2021 Share Posted February 23, 2021 @WillFerraz Why? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
WillFerraz Posted February 23, 2021 Author Share Posted February 23, 2021 @FrancescoDiMuro Thats is a simple way to explain what i need, im gona use this function to upgrade my food delivery write on autoit. Link to comment Share on other sites More sharing options...
Nine Posted February 23, 2021 Share Posted February 23, 2021 Run("Notepad") $hWnd = WinWait("[CLASS:Notepad]") WinSetState($hWnd, "", @SW_MINIMIZE) Sleep(1000) ControlSetText($hWnd, "", "Edit1", "This was set") ControlSend($hWnd, "", "Edit1", "This was send") You can set/send text to minimize windows at the condition you can know the control ID of the field you want to fill WillFerraz 1 “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...
WillFerraz Posted February 23, 2021 Author Share Posted February 23, 2021 1 hour ago, Nine said: Run("Notepad") $hWnd = WinWait("[CLASS:Notepad]") WinSetState($hWnd, "", @SW_MINIMIZE) Sleep(1000) ControlSetText($hWnd, "", "Edit1", "This was set") ControlSend($hWnd, "", "Edit1", "This was send") You can set/send text to minimize windows at the condition you can know the control ID of the field you want to fill Thanks! I use WinGetHandle to match better, set de title of handle with WinSetTitle and after that i can use without problems when Window is minimized. 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