Jump to content

Sending a key $var1 times


Recommended Posts

Global $iPressTimes = 10
$iPid = Run ("Notepad")
WinWaitActive("[Class:Notepad]")

HotKeySet("{HOME}","SendAKey")

Func SendAKey()
    For $i = 1 To $iPressTimes
        Send("A")
    Next
EndFunc

While ProcessExists($iPid)
WEnd

Example, above

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...