rejectpenguin 0 Posted August 11, 2012 (edited) Is there a way to send a number to a window regaurdless of if I have the shift key pressed down or not? ControlSend(windowName, "", "", "20"); Edited August 11, 2012 by rejectpenguin Share this post Link to post Share on other sites
stormbreaker 27 Posted August 11, 2012 (edited) This example could be what you are looking for: Example() Func Example() msgbox(64, "Open", "Open the Run Dialog") Local $hWnd = WinWaitActive("Run", "") ControlSetText($hWnd, "", "Edit1", "202020") EndFunc ;==>Example Edited August 11, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful?----------------------------------------My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1 Share this post Link to post Share on other sites
rejectpenguin 0 Posted August 11, 2012 This example could be what you are looking for: Example() Func Example() msgbox(64, "Open", "Open the Run Dialog") Local $hWnd = WinWaitActive("Run", "") ControlSetText($hWnd, "", "Edit1", "202020") EndFunc ;==>Example This is a good solution, but isn't going to work in my case as I have no way to get the controlid of the window im using. Share this post Link to post Share on other sites
JohnOne 1,603 Posted August 11, 2012 ControlSend(windowName, "", "", "20",1); send keys raw AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites