Jump to content

Sending modified mouse clicks.


Recommended Posts

;~ VK_BACK (08)
;~     BACKSPACE key

;~ VK_TAB (09)
;~     TAB key

;~ VK_CLEAR (0C)
;~     CLEAR key

;~ VK_RETURN (0D)
;~     ENTER key

;~ VK_SHIFT (10)
;~     SHIFT key

;~ VK_CONTROL (11)
;~     CTRL key

;~ VK_MENU (12)
;~     ALT key

;~ VK_PAUSE (13)
;~     PAUSE key

;~ VK_CAPITAL (14)
;~     CAPS LOCK key

#include <Misc.au3>

While 1
    If _IsPressed("11") Then Clickity() ; Ctrl is pressed
    If _IsPressed("1B") Then Quit()
WEnd

Func Clickity()
    MouseClick("left")
EndFunc

Func Quit()
    Exit
EndFunc

Edited by gamepin126
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...