Main > Main Forum

Need AHK script to run .bat file from key combination

(1/3) > >>

griffindodd:
HI guys,

I need to execute a .bat script that I use to rotate my monitor by hitting a shifted key combination on my control panel.

e.g

- Shifted P1 Joystick left initiates my 'Portrait Mode' .bat script
- shifted P1 Joystick right initiates my 'landscape Mode' .bat script

I'm pretty bad at AHK can anyone help me out?

BadMouth:
What button does "Shifted P1 Joystick left" post as in windows?

griffindodd:
Shifted P1 left is 'm'
Shifted P1 right is 'n'

I have two scripts, one for each direction called landscape.bat and portrait.bat

darthpaul:
If you are using MALA, why not just automate it using MRotate?

griffindodd:
I'm using Hyperspin

Navigation

[0] Message Index

[#] Next page

Go to full version