I'm trying to get this code to run in game. The code is below:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^f::
Send, MouseClickDrag, L, 912, 650, 770, 149 [, Speed, R]
Return
---
I've never used AHK before so I don't have any idea what I'm doing. If its necessary, the game I'm trying to run the code in is Hearthstone.
New user, Hotkey Syntax?
Re: New user, Hotkey Syntax?
Hallo,
try:
try:
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^f::
MouseClickDrag, L, 912, 650, 770, 149
Return
Who is online
Users browsing this forum: Gemos and 72 guests