Jump to content
Sign in to follow this  
rejectpenguin

Send numbers regaurdless of shift press?

Recommended Posts

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 by rejectpenguin

Share this post


Link to post
Share on other sites

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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...