Quick tip for those looking for a more seamless way to integrate this with Vortex.
If you click on the "dashboard" on the left side of vortex, you will see in the center of the window a "Tools" section. (Pro tip, in the "Tools" section is a toggle for "Enable Toolbar" This allows tools you create here to be seen beside your games banner in the top left.)
Now if you click on the plus sign you can now create a new tool.Now if you download this script with the mod manager, you can open the extracted folder location and paste the "AutoHotkeyU64.exe" or the "AutoHotkeyU32.exe" into the folder and when you click deploy it will put these files in the base directory.
Now if you create a new tool,
1: in the "Name" field put whatever you like. I put "E is for Enter" 2: in the "Target" field you can enter the path to the AutoHotkeyU32/64.exe for me it's: "G:\SteamLibrary\steamapps\common\Oblivion Remastered\AutoHotkeyU64.exe" (you can also click the little folder to the far right to open a location dialog box if that's easier for you.) 3: in the "Command Line" field enter the name of this script: "e enter.ahk" 4: Leave the "Start In" field alone unless you have a special reason to use it. If you have a special reason, then you already know all this and I'll still not give instructions for this field. 5: "Environment Variables" same as #4 6: "Icon" leave this be. Or don't, your call.
7: "On Start" field. Again, leave it be.
8: "Run In Shell" leave this toggled off.
9: "Run Detached" I personally toggle this on, but it's your call. it can be either. It just depends on the situation.
Now click save.
Beside your games banner in the top left (Oblivion for this mod) you will now see the green A icon for AutoHotkey. Before you click start to launch Oblivion click the green AutoHotkey link to launch it first and then launch Oblivion.
Remember, you only need to launch AutoHotkey if it's not already running. Also, AutoHotkey will not exit automatically unless you edit the script and I'll not be explaining that because I don't have enough characters.
Eh..? AutoHotkey isn't portable afaik without a specific portable version and you don't need to run AutoHotkey to run an autohotkey script, you just need it installed. You run the e enter.ahk file directly. Actually, that could probably cause some issues because AutoHotkey itself is supposed to look in its install directory for its includes like WindowSpy and other UX stuff...
Though I was pretty sure I disabled adding this to Vortex as it's not intended to be added like that... Well, I've fixed that now.
I LOVE the simplicity of this mod. I just press Windows button, go down to the bottom right clock section and click suspend key on the autokey logo when I want to use console commands. it's a small step, but totally worth the trade off. Thank you for this. The other program someone mentioned was just too much for what I wanted.
Oh you don't have to do all that. I have a hotkey in there to toggle it off. It's \. For me that's the key above my right enter. You can edit the script to change that key to something else if that key doesn't work for your keyboard setup.
You could also set it to F or Q or something instead of E to avoid it closing a loot window, though I just use my mouse to click individual items instead of E (or Enter) so that's not really a problem for me. F would be a good option though I use that for my spell casts. Might be worth considering for your own setup though. It's very easy to customize to whatever key you want it on!
kinda sorta related but is there a way to circumvent or change the loot window all together via mods. what i mean is like if i am in sneaky steal mode and i want to just steal like fast and crazy, i have to hit E then R to loot all over and over. or if its an empty barrel hit escape. its so very tedius
I was wondering if could make it where hitting E key on an object just opens it, loots all and closes the window. or better yet just surpress the window all together? then can just go spammng E on a room full of barrels and crates. then to see what you looted have it be posted in ui, like a scrolling info box.
pretty sure this exsists for skyrim and other bethesda games, its been awhile though and i may have other games mixed up, but pushing the output from the loot popup window to ui instead i think would be possible. maybe scripting and script loader i have no idea.
Because honestly when i am stealing/looting stuff i always take all, doesnt matter what it is, i dont cherry pick items anyways. I have unlimited weight for a reason. I want ALL the things. sort/sell off later. so having to hit E, R...E, R..E, R after a long play session just gets monotonous. be nice to just spam E and all loot is grabbed up, and tells you info of what you grabbed and you keep going.
could also do a thing where you just hold E down, and it kicks in and loots all. even if it was a second at a time, be faster than hitting E, window pops up, hit R etc. and if want to manually loot/not autoloot be able to hold shift when opening something, surpress autoloot.
That mod was feature crept way too quickly and doesn't play nice with some other UI mods causing the UI to just not work on ocassion. This mod doesn't have this issue at all thanks to its simplicity.
14 comments
If you click on the "dashboard" on the left side of vortex, you will see in the center of the window a "Tools" section. (Pro tip, in the "Tools" section is a toggle for "Enable Toolbar" This allows tools you create here to be seen beside your games banner in the top left.)
Now if you click on the plus sign you can now create a new tool.Now if you download this script with the mod manager, you can open the extracted folder location and paste the "AutoHotkeyU64.exe" or the "AutoHotkeyU32.exe" into the folder and when you click deploy it will put these files in the base directory.
Now if you create a new tool,
1: in the "Name" field put whatever you like. I put "E is for Enter"
2: in the "Target" field you can enter the path to the AutoHotkeyU32/64.exe for me it's: "G:\SteamLibrary\steamapps\common\Oblivion Remastered\AutoHotkeyU64.exe" (you can also click the little folder to the far right to open a location dialog box if that's easier for you.)
3: in the "Command Line" field enter the name of this script: "e enter.ahk"
4: Leave the "Start In" field alone unless you have a special reason to use it. If you have a special reason, then you already know all this and I'll still not give instructions for this field.
5: "Environment Variables" same as #4
6: "Icon" leave this be. Or don't, your call.
7: "On Start" field. Again, leave it be.
8: "Run In Shell" leave this toggled off.
9: "Run Detached" I personally toggle this on, but it's your call. it can be either. It just depends on the situation.
Now click save.
Beside your games banner in the top left (Oblivion for this mod) you will now see the green A icon for AutoHotkey. Before you click start to launch Oblivion click the green AutoHotkey link to launch it first and then launch Oblivion.
Remember, you only need to launch AutoHotkey if it's not already running. Also, AutoHotkey will not exit automatically unless you edit the script and I'll not be explaining that because I don't have enough characters.
Enjoy your game!
Though I was pretty sure I disabled adding this to Vortex as it's not intended to be added like that... Well, I've fixed that now.
*Space::
if (toggle)
SendInput, {Space down}{Enter down}
else
SendInput, {Space down}
return
*Space up::
if (toggle)
SendInput, {Space up}{Enter up}
else
SendInput, {Space up}
return
just replace the *e sections.
You could also set it to F or Q or something instead of E to avoid it closing a loot window, though I just use my mouse to click individual items instead of E (or Enter) so that's not really a problem for me. F would be a good option though I use that for my spell casts. Might be worth considering for your own setup though. It's very easy to customize to whatever key you want it on!
thanks
I was wondering if could make it where hitting E key on an object just opens it, loots all and closes the window. or better yet just surpress the window all together? then can just go spammng E on a room full of barrels and crates. then to see what you looted have it be posted in ui, like a scrolling info box.
pretty sure this exsists for skyrim and other bethesda games, its been awhile though and i may have other games mixed up, but pushing the output from the loot popup window to ui instead i think would be possible. maybe scripting and script loader i have no idea.
Because honestly when i am stealing/looting stuff i always take all, doesnt matter what it is, i dont cherry pick items anyways. I have unlimited weight for a reason. I want ALL the things. sort/sell off later. so having to hit E, R...E, R..E, R after a long play session just gets monotonous. be nice to just spam E and all loot is grabbed up, and tells you info of what you grabbed and you keep going.
could also do a thing where you just hold E down, and it kicks in and loots all. even if it was a second at a time, be faster than hitting E, window pops up, hit R etc. and if want to manually loot/not autoloot be able to hold shift when opening something, surpress autoloot.