Help me with my script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
RoyRoyal
Posts: 1
Joined: 19 Aug 2018, 05:06

Help me with my script

19 Aug 2018, 05:12

Ok, so how do I make a script that if i press the button "c" it will press the button "r" then press "lmb" and then release "lmb" and "r"
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Help me with my script

19 Aug 2018, 17:16

You should learn the 0-basics by yourself.
Otherwise you won't have any success:
https://autohotkey.com/docs/Hotkeys.htm
https://autohotkey.com/docs/commands/Send.htm

Hints:
lmb = {lbutton}
Sending a key down is: {key down}, e.g. {lbutton down}
Sending a key up is : {key up}, e.g. {lbutton up}

Regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ishida20, jameswrightesq, Lem2001 and 400 guests