ControlSend with arrow keys MapleStory

Ask gaming related questions (AHK v1.1 and older)
whynot
Posts: 4
Joined: 11 Apr 2017, 05:54

ControlSend with arrow keys MapleStory

14 Apr 2017, 03:36

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
User avatar
PipeDreams
Posts: 165
Joined: 19 Dec 2015, 00:20

Re: ControlSend with arrow keys MapleStory

24 Apr 2017, 00:02

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

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

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 74 guests