• Help with a VERY simple autohotkey script - Did I do this right, or did I miss something?
    2 replies, posted
Hey there, folks. First time posting in this section, so please forgive me if this is not the right place to post about this. Like the title implies, I'm trying to set up a very simple script for autohotkey. Specifically, what I'm trying to do is make a toggle script that, while active, will allow me to use scrollwheel up and have it behave like I'm hitting Shift and E together at the same time whenever I do so. Now, I've never worked with autohotkey before, and the documentation is slightly confusing, so I'm really hoping what I put in for the script will read correctly and not just break everything when it's active. [CODE]XButton2:: Hotkey, WheelUp, toggle return WheelUp:: Send +e return[/CODE] Would this setup for the script work as intended, or am I missing something that's going to cause it to not work properly? [editline].[/editline] I've tested this a few times already, and it does seem to work, but it seems to be on by default. Since what I'm wanting to use this script for is situational, I'm now trying to figure out how to have it be turned off by default so that I can toggle it when I need it to be active.
in the first line, just put `hotkey, wheelup, off` [img]https://tenryuu.blob.core.windows.net/astrid/17-03-13_18-35-15-Hotkey_-_Waterfox.png[/img]
[QUOTE=Scratch.;51952079]in the first line, just put `hotkey, wheelup, off` [img]https://tenryuu.blob.core.windows.net/astrid/17-03-13_18-35-15-Hotkey_-_Waterfox.png[/img][/QUOTE] I tried that, but it doesn't seem to work. The script just becomes unresponsive.
Sorry, you need to Log In to post a reply to this thread.