Main > Main Forum

Need AHK script to run .bat file from key combination

Pages: << < (3/3)

griffindodd:

Thanks for this guys, haven't had chance to fart this weekend but I'll give it a try when I get a chance.

griffindodd:

Almost right, you need a space before the run command like this


--- Code: ---m:: run smccmd --speed -3200,,Hide

n:: run smccmd --speed 3200,,Hide

return

--- End code ---


DaOld Man:

Is it possible to read key presses with AHK? This could help folks who are using this method but need switched inputs to tell the PC which orientation the monitor is in. If you have some unused inputs on your keyboard emulator (keywiz, etc), you could get input through those.

BadMouth:


--- Quote from: DaOld Man on December 11, 2012, 03:20:48 pm ---Is it possible to read key presses with AHK? This could help folks who are using this method but need switched inputs to tell the PC which orientation the monitor is in. If you have some unused inputs on your keyboard emulator (keywiz, etc), you could get input through those.

--- End quote ---

Autohotkey's power is limitless!   :notworthy:
http://www.autohotkey.com/docs/commands/GetKeyState.htm

After you modified Malaori3 for me, someone turned me onto the iniswap command in ahk.
It swaps variables into ini files.



Pages: << < (3/3)

Go to full version