Jump to content

JoewAlabel

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JoewAlabel's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you! I read, but as I posted, i need just to map the key to send it infinite till users press PAUSE key. Its a better Autoclicker, but instead of just left mouse button clicks i want the user set the key they want after pressed "F1".
  2. Good! I'm making one script to press one key (PAUSE) and it stays pressing and releasing mouse left click. But i want to press F1 and a tooltip shows up: "Please select the Key". And after that, instead PAUSE sends left mouse clicks, it send the key the user pressed on keyboard. Better if it detects multiples key too. I've: #include<IE.au3> #include <Misc.au3> HotKeySet("{ESC}" , "close") HotKeySet("{PAUSE}" , "startpause") HotKeySet("{F1}" , "mapkey") Dim $click = False Dim $keymapped = Null Dim $mousekey = True $dll = DllOpen("user32.dll") Func close() Exit EndFunc Func startpause() $click = Not $click EndFunc Func mapkey() $keymapped = GET HERE KEY THAT USER PRESSED! EndFunc While 1 If $click = True Then If $mousekey = True Then MouseClick("left") EndIf If $mousekey = False And $keymapped Not Null Then Send($keymapped) EndIf Sleep(50) EndIf sleep(20) WEnd Could anyone help me creating this, please? Thank you!
×
×
  • Create New...