ControlSend with arrow keys never seem to work. People who play MapleStory, do you have the same issue?
My script is,
F9::
Loop,
{
Loop, 100
{
ControlSend,, {a down}, MapleStory
Sleep 200
ControlSend,, {a up}, MapleStory
}
Loop 3
{
ControlSend,, {Left down}, MapleStory
Sleep 200
ControlSend,, {Left up}, MapleStory
}
Loop 3
{
ControlSend,, {Right down}, MapleStory
Sleep 200
ControlSend,, {Right up}, MapleStory
}
}
F8::
Reload
Return
ControlSend with arrow keys MapleStory
- PipeDreams
- Posts: 165
- Joined: 19 Dec 2015, 00:20
Re: ControlSend with arrow keys MapleStory
AHK can't do more than one command per line. Additionally, what is it you are trying to accomplish with this script? If you’re looking to run 3 loops simultaneously, AHK can't do that either, only in succession from what I understand. Here’s an example.
Take a look at this if you want to understand more.
https://autohotkey.com/docs/Tutorial.htm
Take a look at this if you want to understand more.
https://autohotkey.com/docs/Tutorial.htm
Code: Select all
#SingleInstance Force
#Persistent
~F8::
Reload
Exit
;#IfWinActive, MapleStory ;Enable so script only works in MapleStory.
~F9::
{ Loop, 10 ;How may times the Loops will fire befor moving onto the next Loop. 10 in this case.
{ SoundBeep, 100, 50 ;testing
;Send, {a Down} ;Enable to work in MapleStory.
Sleep, 70
;Send, {a Up} ;Enable to work in MapleStory.
} Loop, 3 ;How may times the Loops will fire befor moving onto the next Loop. 3 in this case.
{ SoundBeep, 200, 50 ;testing
;Send, {Left Down} ;Enable to work in MapleStory.
Sleep, 70
;Send, {Left Up} ;Enable to work in MapleStory.
} Loop, 3 ;How may times the Loops will fire befor moving onto the next Loop. 3 in this case.
{ SoundBeep, 400, 50 ;testing
;Send, {Right Down} ;Enable to work in MapleStory.
Sleep, 70
;Send, {Right Up} ;Enable to work in MapleStory.
} } Return
#IF
Some stuff I've done:
Secret of Mana Remake Support Caster Spell Leveling Bot
PixelSearch with visual cue
PixelGetPrimaryColor & PixelSearchPrimaryColor RGB
PixelSearch & PixelGetColor with visual cues & multiple clipboard output tool.
Logitech G930 Power Saver Off/On
Windows Properties Performance Profile Switcher
Secret of Mana Remake Support Caster Spell Leveling Bot
PixelSearch with visual cue
PixelGetPrimaryColor & PixelSearchPrimaryColor RGB
PixelSearch & PixelGetColor with visual cues & multiple clipboard output tool.
Logitech G930 Power Saver Off/On
Windows Properties Performance Profile Switcher
Who is online
Users browsing this forum: Cmecu and 94 guests