I just want to move a simple thing

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Jesustime
Posts: 2
Joined: 02 Aug 2021, 05:02

I just want to move a simple thing

03 Aug 2021, 00:13

Hello, I want the script to send those keys than for the Mousemove to turn right, the right mouse movement works however it doesn't work after the Key down and up section. Overall th Mousemove doesn't do anything however in a script by itself it works. Please help

Code: Select all

6::
{
Send {w Down}{d Down}
sleep 4000
Send {w Up}{d Up}
sleep 100
}
turnRight() {
Send MouseMove, 600, 0, 0, R
}
[Mod edit: [code][/code] tags added.]
User avatar
Smile_
Posts: 858
Joined: 03 May 2020, 00:51

Re: I just want to move a simple thing

03 Aug 2021, 03:27

turnRight() is a function you have to call it.

Code: Select all

6::
    Send, {w Down}{d Down}
    Sleep, 4000
    Send {w Up}{d Up}
    Sleep, 100
    turnRight()
Return

turnRight() {
    MouseMove, 600, 0, 0, R
}

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: haomingchen1998 and 244 guests