Jump to content

[REQUEST]/[SEARCH] Hotkey to Save&Quit to OS?


Recommended Posts

Since I both live with other people and have sex mods, I only ever play Skyrim late at night. But if I were to have some way to quicksave and immediately quit to OS at the hit of a button, I'd be able to play in the daytime too. If someone opens my door or knocks, I'd be able to hit that button and immediately be doing something like watching YouTube or looking at memes.

 

I can't imagine it would be that hard to make. I know its a little more complicated than this but all you'd have to do is tie a hotkey to whatever gets called when the "quit to desktop" button is clicked.  I'm not well versed in making mods but this seems like a relatively simple thing to do.

 

If there is already a mod that does this, please let me know. Thanks!

Link to comment

Console -> QQQ -> enter

 

thats command for instant game shutdown

 

that may also work:

#include <windows.h>

int main(){

 while(true){

if(GetAsyncKeyState( VK_AnyKeyUWant )){

 system("taskkill /im tesv.exe");

}}}

 

Quick C++ Program xD ofc. not tested

 

Bfff... tbh im rly lazy but it is also possible to just use: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-bringwindowtotop

This Function will move window to top...

 

ofc. first u need handle to that window... but its rly easy to do :D

HWND = FindWindowA( ClassName , WindowName ); -> https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowa

 

 

if u are on my Discord maybe i can do program like this for u... 

or if u are too scary i can send u source code and tell u how to compile it by urself ^_^

 

 

but about mod...

i don't know mod that allows u to close game / switch to different window...

 

but as i said u can use Console Command ^_^

3 easy steps:

 - Open console "~" by default

 - type "QQQ"

 - Press Enter

 

and you game is gone :D

ofc. no save etc. is made :x... game just probably exit with exit(0); xD

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use