[Help] Requesting Assistance on AutoHotKey Script's Input

Discussion in 'Epic Heroes War Accounts - Buy Sell Trade' started by mudslap2, 1/3/17.

Thread Status:
Not open for further replies.
  1. mudslap2

    mudslap2
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Offline
    I have been testing many different ways to make the script work. It's just a simple auto-attack bot I have set up. It works perfectly, but what I want is to have it work when I Alt + Tab and have the script work even when I am doing something else. Like using the internet browser and checking my facebook or watching youtube videos. This is my script and any help will truly be great!

    Here's the script:

    ------------------------------------------

    #IfWinActive, MapleStory
    SendMode Input
    #InstallKeybdHook
    Loop
    {
    ControlSend, , x, MapleStory
    Sleep 180
    }
    return

    -::
    Suspend
    Pause,,1
    return

    --------------------------------------------------

    Here's the thing. When I am using another 'Windows' Application, the script still works in MapleStory and is spamming the X Button in the Chat/Text Box. But when I actually wanted it to do the attack, it only works when MapleStory is active. If I went into another 'Windows', it doesn't work. Only the script work on chat box when you're inactive from MapleStory. Please! I appreciate any help. I want the auto-attack to work even when I am browsing on my internet browser. I hope you guys will somehow reply and give me your views. I have spent hours looking for many ways but its still doesn't work.
     
Thread Status:
Not open for further replies.