/* Hotkey Facilitator for Modders and Screenshotters of Skyrim game Script created by aeterna826 (skyrimnexus.com)
If you want to make any corrections/extensions to this script look below the script. You have there description of any possible keyboard keys you can use in this script. To know more look for the informations in AutoHotkey help.
Modified by totya version 1.1 / 2014.01.05.
changelog:
1.0 Many improvements:
- Hungarian keyboard support. - Script is working only, if Skyrim window is active. - Auto repeat defense, must leave pressed key. - Quit key change to alt+end. - Smaller sleep time.
Thanks for sharing this. Good idea with Alt-End key and '#IfWinActive' instruction. As for sleep times I deliberately used the longer gaps. Not every machine is fast enough to process simulation of several keystroke events correctly if the script uses very small waiting times between them (particularly when it comes to sending them to Skyrim, sometimes some of the keystrokes are missing). My simple script was to be the most universal one but it seems it's not so easy to create such a thing in AutoHotkey .
Well, think about creating your own corner at Nexus and share your ideas with people. I'm sorry but I can't delve into Skyrim modding world very deeply for now, I don't have much time for it. BTW as for '#IfWinActive' it works only if you play in window mode, fullscreen is another story (as far as I know). In this case you can hotkey Suspend/Resume instructions of course to ease the effects of global hotkeys ;) As for customization you could add more sophisticated ways e.g. GUI, customizable hotkeys, etc.. or just use another language (e.g. C#) to create some really fancy interface and connect it with AutoHotkey script language with COM object (AutoHotkey H version, not L). Possibilities are limitless ;).
I see. That's interesting. I have to check it out. I use AHK almost everyday. But... it could be really helpful if you could share your thoughts and scripts with other Skyrim players. I encourage you to create your own place here at Nexus. You can use my scripts if needed... no problem. It's no big deal
Thank you for this incredibly easy to use mod! It does exactly what I was looking for, and makes taking screenshots so much better. I play Skyrim (latest patched version, no Dawnguard) through Steam, and run it on a Windows 7 64 bit OS, and for some reason I was getting the exact same problem Smoking Atom was having when I used the Main .exe. Once I ran it with the alternate, it worked perfectly however. I'm not sure why. I use script dragon for ThuuMic, so maybe there's a script conflict with that? At any rate, great mod! Endorsed.
@kri92azel: if understand correctly what you mean, it looks like you need to know the script I placed here is not for taking screenshots. It only remove your HUD and allow you to set your camera wherever you wish so you can make your screens but you have to use some other program to do this. I don't remember (sorry I haven't been playing Skyrim for 2 months or more) if Skyrim itself is capable of doing any screenshots, but you can do it using, say, eg. FRAPS or other similar program.
@popoz: It's pretty likely. If you really interested in my scripts I encourage you to turn off your Key Tweaks and check if this is the problem.
um traing to find a SOMEONE/SOMTHING that can help me lokate and se my screenshots and thil nowe i fond wher to faind them but not howe to open and see them pleeees pritty plees tel me howe you can open the files T.T ...tho im so ne her on nexus that i proberly wont find your anser if you anser >.>
@Smoking Atom: Fine! I'm really glad I could help you. Seriously. Regards.
EDIT: If you find some other useful console commands which are worth to be hotkeyed let me know. And.. huh.. somebody at last gave me some feedback, thanks. It seems my small tool generally does work on other systems than mine.
@Smoking Atom: Oh... somebody have noticed my small tool ;-))) Ok... I have placed alternative versions in files section. I hope they will work correctly on XP.
ps. It's also possible to create various untypical hotkeys e.g.: Alt + LMB or Alt + RMB, Ctrl + MMB, Ctrl + Alt + LMB and so on... They could be used as substitutes for 1 - 9 standard hotkeys while in game. I use them myself e.g. pressing Alt + LMB gives me 7 = healing (two-handed) or Alt + RMB gives me 8 lightning (also two-handed) and so on. If you (or anybody) are interested let me know I can extend this tool much more.
This is a wonderful idea but unfortunately there seems to be a problem with my setup. The first letter of the string is being doubled hence I am getting ttm ttfc and qqqq. I am running Windows XP Service Pack 3 and patch 1.4.27 of Skyrim. Please contact me here if you have any further information which may be required to solve this problem. Thanks
16 comments
Thanks, this script for me is not working corretly, but I rewrote, and this is okay for me:
; -----------------------------------------------------------------------
/*
Hotkey Facilitator for Modders and Screenshotters of Skyrim game
Script created by aeterna826 (skyrimnexus.com)
If you want to make any corrections/extensions to this script look below the script. You have there description of any possible keyboard keys you can use in this script. To know more look for the informations in AutoHotkey help.
Modified by totya
version 1.1 / 2014.01.05.
changelog:
1.0 Many improvements:
- Hungarian keyboard support.
- Script is working only, if Skyrim window is active.
- Auto repeat defense, must leave pressed key.
- Quit key change to alt+end.
- Smaller sleep time.
1.1
- English keyboard support.
*/
; ------------------------------------------------------------------------
#IfWinActive ahk_class Skyrim
; PgUp --> "~" + "tfc" + Enter + "~"
PgUp::
Send {SC029}
Sleep 1
SendRaw tfc
Sleep 1
Send {Enter}
Sleep 1
Send {SC029}
KeyWait PgUp
return
; -------------------------------------------------------------------------
; PgDn --> "~" + "tm" + Enter + "~"
PgDn::
Send {SC029}
Sleep 1
SendRaw tm
Sleep 1
Send {Enter}
Sleep 1
Send {SC029}
KeyWait PgDn
return
; --------------------------------------------------------------------------
; Alt+End --> "~" + "qqq"
!End::
Send {SC029}
Sleep 1
SendRaw qqq
Sleep 1
Send {Enter}
KeyWait Alt
KeyWait End
return
; ---------------------------------------------------------------------------
Edit:
Why better is than your script:
- This is works for me (for my keyboard).
- Working only with Skyrim, and only if Skyrim window is active. Your script is working always, and causes unneded type to any window (example: now).
- Faster. only 2-3msec waiting time, with yours script is about 500msec
- Auto repeat defense, must leave pressed key.
- Quit from Skyrim is better solution, only need alt key modifier with end key.
But thanks again for this idea.
I f wait time is longer, I see cause problems, example if I pressed other key with this, example "w" etc.
Since then I have worked on the script, now my version is 1.2
news:
- Easy customize (console key, delay) with variables.
- Improvements.
I wrote above, console key from your script is not working for me.
My question, this console key settings:
Send {SC029}
is working on your system, console is opened in game with this?
What is your keyboard/system lanuage?
I play Skyrim (latest patched version, no Dawnguard) through Steam, and run it on a Windows 7 64 bit OS, and for some reason I was getting the exact same problem Smoking Atom was having when I used the Main .exe. Once I ran it with the alternate, it worked perfectly however. I'm not sure why. I use script dragon for ThuuMic, so maybe there's a script conflict with that?
At any rate, great mod! Endorsed.
@popoz: It's pretty likely. If you really interested in my scripts I encourage you to turn off your Key Tweaks and check if this is the problem.
Maybe its because I use the Interface Hard Coded Key Tweaks mod to play with numpad (http://skyrim.nexusmods.com/downloads/file.php?id=8
EDIT: If you find some other useful console commands which are worth to be hotkeyed let me know. And.. huh.. somebody at last gave me some feedback, thanks. It seems my small tool generally does work on other systems than mine.
ps. It's also possible to create various untypical hotkeys e.g.: Alt + LMB or Alt + RMB, Ctrl + MMB, Ctrl + Alt + LMB and so on... They could be used as substitutes for 1 - 9 standard hotkeys while in game. I use them myself e.g. pressing Alt + LMB gives me 7 = healing (two-handed) or Alt + RMB gives me 8 lightning (also two-handed) and so on. If you (or anybody) are interested let me know I can extend this tool much more.