Very Confused about commands, any help appreciated

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Smilingbrook
Posts: 1
Joined: 28 Apr 2019, 22:18

Very Confused about commands, any help appreciated

28 Apr 2019, 22:38

Hi.

I am a new user who is trying to create a program to have some button presses happen with some combination resets. Everything that i have researched seems to tell me that this will work, but it doesn't seem to do what I expect at all. any guidance anyone may have would be appreciated.

I would like to have my right alt and ijkl buttons together do arrow keys, and really any combination of left right and mouse button 2 do an input of left alt and d together. This is what I came up with that I believe should do that for me, but it just doesn't work... the ijkl just doesn't work at all and I was unable to get the mouse thing to work without disabling my right click. Which is kindof important. Here is what I was using.

>!i::Up
>!j::Left
>!k::Down
>!l::Right

RButton & LButton::!d

Thanks!
StefOnSteroids
Posts: 77
Joined: 08 Aug 2015, 10:22

Re: Very Confused about commands, any help appreciated

29 Apr 2019, 01:58

Try putting the right side into curly braces, like this:

Code: Select all

>!i::{Up}
>!j::{Left}
>!k::{Down}
>!l::{Right}

RButton & LButton::{Alt}d
User avatar
Scr1pter
Posts: 1277
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Very Confused about commands, any help appreciated

29 Apr 2019, 13:54

Code: Select all

RAlt & i::
Send {Up}
return
.
.
.

~rbutton & lbutton:
Send !d
return
Repeat the first part for the other 3 combos.
For the second part you must add a ~, but I'm not sure if you will like the end result.

Cheers!
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: JnLlnd, Mycroft-47, Rohwedder and 147 guests