Problem with AutoHotKey

09/09/2023 10:25 Relikiono#1
Hello! I'm trying to run an AutoHotKey script on a Metin2 server, but the program doesn't detect the script. It's a simple script, just a combination of key presses. However, if I use a macro recorder, Metin2 does detect it. Could you please tell me how I can successfully execute the AutoHotkey script? Thank you and best regards.
09/09/2023 15:13 Drewfire#2
Without knowing the code of your script, how could we help you?
09/09/2023 20:23 Relikiono#3
Quote:
Originally Posted by Drewfire View Post
Without knowing the code of your script, how could we help you?
;
F1::ToggleAction()

;
ToggleAction() {
global actionActive
if (actionActive) {
;
actionActive := false
Send, {Space up}
Send, {3 up}
} else {
;
actionActive := true
Send, {Space down}
Send, {3 down}
}
}
No matter where I write the script, whether it's in Python or AutoHotkey, the issue is that Metin2 doesn't detect it; it has a blocker. The script works; I've tested it in Notepad. I hope you can help me.
09/11/2023 14:19 KALLLLLLLL#4
try pyautogui