This worked great for me and I play with an XBOX360 controller. I only use this for Alchemy because I make 100s of potions and poisons to sell. The only problem I have is the occasional screen shake.
The only a few things handicapped my game with this: First, alt-tabbing out of the game to initiate the hot key almost guarantees a CTD after about 5 to 25 minutes of play. (try alt-tab a few times in a row and you'll get a CTD [at least I do]).
So I edited your ahk file for personal use, got rid of the "If or else" and winactivate statements, so the hot key can be enabled before starting Skyrim. Then I substituted {enter} for the "Y" send and shorted the sleep timers (10 for E, 10 for {enter}, 50 for pause). This increased the speed of bulk smithing/smelting etc.
So, a possible other upload file (easy edit) for people that don't like alt-tabbing out of the game with a major speed increase.
Thanks again though, I would have never thought of using AHK.
That's all good mate I'm glad you found this of use!
> I noticed that lowering the sleep/pause actually ended up skipping key presses, at least on my system. Then again my laptop is not that fast
> As for CTDs, they suck! lol But they have nothing to do with the script itself, as you can imagine. It is caused by Skyrim. In fact, most games do not like alt-tabbing, at least not in Full Screen mode. That is why I actually play in Full Windowed mode all the time, and I alt-tab A LOT lol Btw, I use Simple Borderless Window for that. It's a great little utility.
> I will upload another version without the winactive check, just for those with alt-tab issues.
I am also working on a modified script atm, which allows user input to specify custom variables.
It is possible that it might miss a few key strokes, I noticed number jumps and (sound skips) from inventory (e.g. 288 to 285, 3 0, etc) while smithing, but creating leather strips from the tanning rank it sounds like a drum roll with a perfect # countdown, I use a plugin that allows better menu control with the keyboard, but not sure if that does anything for this. http://skyrim.nexusmods.com/mods/28170/? <- Better message box controls http://skyrim.nexusmods.com/mods/27371/? <- Better Dialogue controls
But I I'm starting to think it is a video driver issue with the Alt-Tab (I have the same problem in windowed mode). I have an Nvidia card, talked to others with AMD cards and they don't have the issue, or at least not as bad.
> I actually use both those mods as well lol Not sure if at least "Better message box controls" is helping with this script. I will disable it and check.
EDIT: I tested them and they do not affect my script.
> Troubleshooting CTDs is outside the scope of this mod , but I can give you my personal suggestions, for what they are worth lol.
CTDs could be from a number of things: Video drivers and Mods for sure, and perhaps even RAM or Windows itself.
- The best thing to do is a thorough Chkdsk on your hardisk and then defrag it. - Update all your drivers, especially video drivers and directx. - Mind you, with video drivers, the latest may not always be the best. Some of the more stable versions could be older ones which catered specifically for certain games. You can check on google if there are any recommendations for the most stable Nvidia drivers for Skyrim.
- Get rid of mods you don't really need, especially ones with lots of scripts. - Check your Papyrus log to see if you are getting a lot of errors and what types and mods are causing them. - Clean your mods in TES5Edit from dirty edits. - And finally, start a new game or at least try testing a new one to see if their is a difference.
I have a few CTDs myself, here and there, but I know they are due to some mods I have. I also save often
> Lastly, plz check my sticky on top for new test script, if you are interested.
I am working on a modified script atm, which allows user input to specify custom variables, i.e. you can input the number of loops, which hotkey you want to use and the 2 keys you want to spam, including sleep/wait times. So, it will be more than just E/Y spam lol
Very useful, but I'm using the german version, so the script is using the "e"-key, but "Yes" is "Ja" in German, so I have to click on "Ja" to confirm the created item... Is there a possibility to change the bound keys? Or uploading a german version?
Sorry, I have no idea how German keyboards/Skyrim work. When you press "Ja" in the game, does the game still send a "Y" press for "yes"? If it does, then the script should work, since it just emulates "E" and "Y" key presses, regardless of what you actually see on the screen in the game.
For example, as long as "Activate" (Aktivieren?) function in Skyrim is bound to the key "E" in game (which should be by default), the script should work. If you bind "Activate" to another key, say "V", then you need to change the script to press "V" (check my sticky on top on how to do that).
----------
I did a bit of digging around though and here is what I came up with. Check my sticky on top, along with the following info, in case your keyboard actually uses different codes for key presses.
You can check certain special character codes in Window Charmap (Character Map). Click on the character you want and look at Keystroke. For example, it should say something like Alt+0196 for Ä. That means the code for it in AHK will be {ASC 0196}.
{ASC 0228} ; a-lower case umlaut ä {ASC 0196} ; A-capital umlaut Ä {ASC 0246} ; o-lower case umlaut ö {ASC 0214} ; O-capital umlaut Ö {ASC 0252} ; u-lower case umlaut ü {ASC 0220} ; U-capital umlaut Ü {ASC 0223} ; Eszett ß
So, you can try this: Send {ASC 0246} to press Ä.
I hope this is useful. As I said, I only work in English mostly, sorry Tell me how it goes.
14 comments
Added instructions to main Mod description
Please try this new version: Clikey Clicks Script v1.1, now added to the files section.
This is a customizable script, as some users wanted, where you can specify all the details.
Please check the main Mod description for details.
Rez
The only a few things handicapped my game with this:
First, alt-tabbing out of the game to initiate the hot key almost guarantees a CTD after about 5 to 25 minutes of play. (try alt-tab a few times in a row and you'll get a CTD [at least I do]).
So I edited your ahk file for personal use, got rid of the "If or else" and winactivate statements, so the hot key can be enabled before starting Skyrim.
Then I substituted {enter} for the "Y" send and shorted the sleep timers (10 for E, 10 for {enter}, 50 for pause).
This increased the speed of bulk smithing/smelting etc.
So, a possible other upload file (easy edit) for people that don't like alt-tabbing out of the game with a major speed increase.
Thanks again though, I would have never thought of using AHK.
> I noticed that lowering the sleep/pause actually ended up skipping key presses, at least on my system. Then again my laptop is not that fast
> As for CTDs, they suck! lol But they have nothing to do with the script itself, as you can imagine. It is caused by Skyrim. In fact, most games do not like alt-tabbing, at least not in Full Screen mode. That is why I actually play in Full Windowed mode all the time, and I alt-tab A LOT lol Btw, I use Simple Borderless Window for that. It's a great little utility.
> I will upload another version without the winactive check, just for those with alt-tab issues.
I am also working on a modified script atm, which allows user input to specify custom variables.
http://skyrim.nexusmods.com/mods/28170/? <- Better message box controls
http://skyrim.nexusmods.com/mods/27371/? <- Better Dialogue controls
But I I'm starting to think it is a video driver issue with the Alt-Tab (I have the same problem in windowed mode). I have an Nvidia card, talked to others with AMD cards and they don't have the issue, or at least not as bad.
EDIT: I tested them and they do not affect my script.
> Troubleshooting CTDs is outside the scope of this mod
CTDs could be from a number of things: Video drivers and Mods for sure, and perhaps even RAM or Windows itself.
- The best thing to do is a thorough Chkdsk on your hardisk and then defrag it.
- Update all your drivers, especially video drivers and directx.
- Mind you, with video drivers, the latest may not always be the best. Some of the more stable versions could be older ones which catered specifically for certain games. You can check on google if there are any recommendations for the most stable Nvidia drivers for Skyrim.
- Get rid of mods you don't really need, especially ones with lots of scripts.
- Check your Papyrus log to see if you are getting a lot of errors and what types and mods are causing them.
- Clean your mods in TES5Edit from dirty edits.
- And finally, start a new game or at least try testing a new one to see if their is a difference.
I have a few CTDs myself, here and there, but I know they are due to some mods I have. I also save often
> Lastly, plz check my sticky on top for new test script, if you are interested.
GL
or at least, some instructions how to do so if it's already possible?
I am working on a modified script atm, which allows user input to specify custom variables, i.e. you can input the number of loops, which hotkey you want to use and the 2 keys you want to spam, including sleep/wait times. So, it will be more than just E/Y spam lol
Is there a possibility to change the bound keys? Or uploading a german version?
For example, as long as "Activate" (Aktivieren?) function in Skyrim is bound to the key "E" in game (which should be by default), the script should work. If you bind "Activate" to another key, say "V", then you need to change the script to press "V" (check my sticky on top on how to do that).
----------
I did a bit of digging around though and here is what I came up with. Check my sticky on top, along with the following info, in case your keyboard actually uses different codes for key presses.
German_keyboard_layout
You can check certain special character codes in Window Charmap (Character Map). Click on the character you want and look at Keystroke. For example, it should say something like Alt+0196 for Ä. That means the code for it in AHK will be {ASC 0196}.
{ASC 0228} ; a-lower case umlaut ä
{ASC 0196} ; A-capital umlaut Ä
{ASC 0246} ; o-lower case umlaut ö
{ASC 0214} ; O-capital umlaut Ö
{ASC 0252} ; u-lower case umlaut ü
{ASC 0220} ; U-capital umlaut Ü
{ASC 0223} ; Eszett ß
So, you can try this: Send {ASC 0246} to press Ä.
I hope this is useful. As I said, I only work in English mostly, sorry
Thanks =D
Endorsed but i will also vote next month!
Thank you very vey much for jour great job!