Borderlands 2

Borderlands 2

View Stats:
Chaz Dec 17, 2018 @ 7:14pm
Save Quit Script
I've been seing Joltzdude save quiting instantly via a hotkey and i wanted to figure that out as well, stumbled through a few various attempts and tutorials but non succsusful. Anyone else have this that works?
< >
Showing 1-12 of 12 comments
StreamWhenGuy Dec 17, 2018 @ 8:22pm 
Hello. I've tried and succeded, was relatively easy. Here is the .ahk code for AutoHotkey:

#IfWinActive Borderlands 2
$F10::
Send {Escape}
Sleep 50
Send {End}
Sleep 50
Send {Enter}
Sleep 50
Send {Up}
Sleep 50
Send {Enter}
Sleep 50
Return

F10 is the button that does the thing. You can change F10 to whatever button you like. See KeyList section of AutoHotkey documentation for button syntaxes.
Witski Dec 18, 2018 @ 12:58am 
im trying to figure mmyself how autohotkey work but i cant,i create a notebook with your script and rename it with .ahk but didnt work :D it doesnt appear in the ahk.exe application,can you explain me how to open this script please?
I know that i need to create the "autohotkey" script from right clicking the desktop and "new" but i dont have this option
Last edited by Witski; Dec 18, 2018 @ 1:01am
StreamWhenGuy Dec 18, 2018 @ 1:24am 
You probably have file extensions hidden so that you rename it to example.ahk.txt. The extension itself must be .ahk.
Press Win+R -> type in "control.exe folders" without quotes -> click the "view" tab -> click to uncheck the box for "hide extensions for known file types".
If you really struggle I could just upload the file to google drive.
Last edited by StreamWhenGuy; Dec 18, 2018 @ 1:25am
Witski Dec 18, 2018 @ 1:43am 
nevermind i manage to do it, i don't download the installer but only the zip..it works thank you very much :)
Last edited by Witski; Dec 18, 2018 @ 1:43am
StreamWhenGuy Dec 21, 2018 @ 9:07am 
You're welcome.
silversong4vr Apr 29, 2019 @ 8:05am 
Originally posted by StreamWhenGuy:
You're welcome.
Could you help me with this? I'm a total noob for running macros, but a quick learner :) Does your offer to share still stand?
T9 Apr 29, 2019 @ 10:44am 
Originally posted by silversong4vr:
Originally posted by StreamWhenGuy:
You're welcome.
Could you help me with this? I'm a total noob for running macros, but a quick learner :) Does your offer to share still stand?
Download the programm "AutoHotkey". It's pretty easy.
You create a new script file, copy paste the text from his post 1 into the text file.

Start the script e.g. you could name it "Quick save exit BL2.ahk". It will stay in your windows tray and waits for your input.
Start Borderlands 2, press the hotkey and it will run the script. In the example in post 1 it is F10 if the Borderland 2 window is active, say you are ingame
Last edited by T9; Apr 29, 2019 @ 10:45am
silversong4vr Apr 29, 2019 @ 10:49am 
Thanks tipsy! StreamWhenGuy was sweet to chat with me to help me out. Turns out, I didn't know to "Run Script". Dudh.
silversong4vr Apr 29, 2019 @ 10:53am 
I changed the code a bit for farming, by adding a long delay and adding another two lines. Working perfectly! Though the sleep time may depend on a PC's power so may need to be played with more.

#IfWinActive Borderlands 2
$F10::
Send {Escape}
Sleep 50
Send {End}
Sleep 50
Send {Enter}
Sleep 50
Send {Up}
Sleep 50
Send {Enter}
Sleep 2000
Send {Enter}
Sleep 50
Return
T9 Apr 29, 2019 @ 11:52am 
Originally posted by silversong4vr:
Thanks tipsy! StreamWhenGuy was sweet to chat with me to help me out. Turns out, I didn't know to "Run Script". Dudh.
Ah that's great. I just saved the script for myself :3
silversong4vr Apr 30, 2019 @ 12:15pm 
Yay, Tipsy!
How would I write the code of I I'm using it for two games? Both work but when I put it on the same key it brakes. this is what I'm using:
#IfWinActive Borderlands 2 or Borderlands: The Pre-Sequel
$9::
Send {Escape}
Sleep 50
Send {End}
Sleep 50
Send {Enter}
Sleep 50
Send {Up}
Sleep 50
Send {Enter}
Sleep 2000
Send {Enter}
Sleep 50
Return
< >
Showing 1-12 of 12 comments
Per page: 1530 50