Hello. My Keyboard doesnt have a macro function. I found Autohotkey but my script never works and chatGPT also couldnt get it done for me. Can someone help me?
I basically want to do something like this. Hotkey could be F1. Sequence should be, keep CTRL pressed (maybe wait for a second before taking the next action), then press W S D then release CTRL. Then slightly different sequence for F2 and so on.
Does that work with Autohotkey and could someone maybe give an example of how the code would look like? Thanks!
[Mod edit: Added “to send keys” to subject line. Please use more descriptive subjects in the future. Everyone creating threads here needs help with a script.]
Need help with script to send keys :(
Re: Need help with script to send keys :(
Code: Select all
#Requires AutoHotkey v2.0
F1:: {
Send '{Ctrl down}'
Sleep 1000
Send 'wsd{Ctrl up}'
}
Re: Need help with script to send keys :(
Thanks! It works. Sadly it only works outside of the game it was supposed to work for. I've had this problem with another software called "Macro Recorder" too. Maybe the game somehow sees it as cheating and doesnt allow other software to interfere? Anything that could be done in that case? I mean I dont consider this as cheating, you arent playing it against other humans, you play vs the computer. There is also no mention of macros being forbidden
Re: Need help with script to send keys :(
Some applications just don't respond to virtual keypresses. You could try running the script as administrator or otherwise address UAC.
I'm not a gamer, but since you brought it up... I don't see the distinction between playing against the computer and other humans. If you artificially are able gain an advantage in achieving whatever the goal is, you are able to get a better result than you would otherwise. If you consider that to be cheating against humans, it would seem to be cheating in general. I don't care to debate it, though.
I'm not a gamer, but since you brought it up... I don't see the distinction between playing against the computer and other humans. If you artificially are able gain an advantage in achieving whatever the goal is, you are able to get a better result than you would otherwise. If you consider that to be cheating against humans, it would seem to be cheating in general. I don't care to debate it, though.
Re: Need help with script to send keys :(
It looks like this forum "Ask for Help (v2)" has a subforum, "Gaming." You might want to try asking there.
ste(phen|ve) kunkel
Who is online
Users browsing this forum: bob65536, shipaddicted, songdg and 39 guests