I'm trying to "send" commands to Game Ragnarok
GAME: https cs.wikipedia.org /wiki/Ragnarok_Online Broken Link for safety
- The game is running in the window
I tested all possible combinations, but none works for me (all commands work normally in a text document).
Someone have an idea, please?
test_script_1
Code: Select all
sleep, 10000
;-------------------------------
Send, {Enter}
sleep, 2000
SendRaw, {Enter}
sleep, 2000
SendInput, {Enter}
sleep, 2000
SendPlay, {Enter}
sleep, 2000
SendEvent, {Enter}
sleep, 2000
;-------------------------------
Send, {Enter Down}
sleep, 100
Send, {Enter Up}
sleep, 2000
SendRaw, {Enter Down}
sleep, 100
SendRaw, {Enter Up}
sleep, 2000
SendInput, {Enter Down}
sleep, 100
SendInput, {Enter Up}
sleep, 2000
SendPlay, {Enter Down}
sleep, 100
SendPlay, {Enter Up}
sleep, 2000
SendEvent, {Enter Down}
sleep, 100
SendEvent, {Enter Up}
sleep, 2000
;-------------------------------
soundplay, *64
;-------------------------------
Code: Select all
SetKeyDelay, 0, 50
sleep, 10000
;-------------------------------
Send, {SC01C}
sleep, 2000
SendRaw, {SC01C}
sleep, 2000
SendInput, {SC01C}
sleep, 2000
SendPlay, {SC01C}
sleep, 2000
SendEvent, {SC01C}
sleep, 2000
;-------------------------------
Send, {VK0D}
sleep, 2000
SendRaw, {VK0D}
sleep, 2000
SendInput, {VK0D}
sleep, 2000
SendPlay, {VK0D}
sleep, 2000
SendEvent, {VK0D}
sleep, 2000
;-------------------------------
soundplay, *64
;-------------------------------