Sign in to follow this  
Followers 0
xcannon

Set focus to an application

2 posts in this topic

I am making a tool for maplestory. Something that just moves for me yet it wont work.

WinSetState("MapleStory", "", @SW_MAXIMIZE)


    $Loop = 1
    While $Loop
        sleep(10000)
        Send("{LEFT}")
    sleep(10000)
    Send("{RIGHT}");
    Wend

I am trying to set focus to maplestory

then have it move right and left every 10 seconds. It is not working and I need help :D

Share this post


Link to post
Share on other sites



Look at the help file...

This request reminds me of an old app I made..

;;MS\focus.au3
while 1 == 1
    If WinActive( "MapleStory" ) == 0 Then
        WinActivate( "MapleStory" )
    EndIf
WEnd

According to the filetime, the last time I used this was the 24th of September, 2005.

#)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0