Autoseeding using AutoHotKeys (No AFK Kick)

Also try changing the default program used to open that file type to autohotkeys instead of notepad
 
BF1 AutoHotKey Script

1.
Go to this link and download the AutoHotKeys software.

2. Open up Notepad on your computer.

3. Post this text into the notepad file:
Code:
enabled = 1
    ComObjCreate("SAPI.SpVoice").Speak("anti-idle enabled")
    settimer, anti-idle, 170000


    anti-idle:
    {
        IfWinExist, Battlefield™ 1
        {
            WinGet, original, ID, A
            WinActivate, Battlefield™ 1
            SendInput, {1 DOWN}
            Sleep 250
            SendInput, {1 UP}
            WinActivate, ahk_id %original%
        }
    }


    F12::
    {
        if (enabled = 0)
        {
            enabled = 1
            ComObjCreate("SAPI.SpVoice").Speak("anti-idle enabled")
            SetTimer, anti-idle, on
        }
        else
        {
            enabled = 0
            ComObjCreate("SAPI.SpVoice").Speak("anti-idle disabled")
            SetTimer, anti-idle, off
        }
    }
    }

4. Save the file as autoseed.ahk . YOU MUST SAVE IT AS A .AHK FILE OR ELSE THIS WILL NOT WORK.

5. Find the autoseed file wherever you saved it (I suggest saving it to the desktop) and double click it to run. Your computer should say "Anti-idle enabled." (I believe this only works on Windows 8, 8.1 and 10)

6. You should have this icon on your task bar from now on and it will open Battlefield 4 every 170 seconds and click randomly in order to have you not get kicked for idling.

7. You should be good to go now. Once you start up Battlefield 1, this script should keep you in game all day until you leave or someone kicks you.

This is useful if you want to populate without actually playing, or if you just want to hold a spot. This allows you to not have to stick something into your keyboard too, so you can use your keyboard with full functionality without that. I had the seeding script running the entire time I was typing this post and had no issues.

If you ever want to close the script (why would you), you can just close Battlefield and it will stop working. Alternatively, you can right click the icon on your task bar and click Exit and it will close.
 
Do people need to be added somehow to the server for this to work? I tried earlier this morning to seed server & was kicked for being idle.
 
Back
Top