McLighting/clients/AutoHotKey/README.md

46 lines
2 KiB
Markdown
Raw Normal View History

2018-04-16 00:38:10 +02:00
!!! Make sure that the ip address is edited to match the ip address of your McLighting server !!!
2018-04-15 23:58:16 +02:00
If you are not familiar with AutoHotKey, this tutorial will get you started: https://autohotkey.com/docs/Tutorial.htm
Once you have AutoHotKey installed, double click it to start the script.
If the Mclighting server goes down for some reason, a socket error notification will appear and you will have to restart the script to reconnect.
The script is not aware of the current state of the McLighting server and will override what is currently being displayed with its own internal values.
This has been tested on windows 7 and windows 10.
Set the notificationTime variable to the time in seconds that you want the notification to stay on the screen.
You can prevent notifications from appearing by setting the notificationEnable variable to false.
2018-04-15 23:58:16 +02:00
2018-04-16 00:03:47 +02:00
The shortcuts only work on the numberpad and only when num lock is on! If you don't have a numberpad you must change the shortcuts to something else. Just be aware that you might be overrriding previously existing shortcuts! Here is the list of windows shortcuts: https://support.microsoft.com/en-us/help/12445/windows-keyboard-shortcuts
2018-04-15 23:58:16 +02:00
The shortcuts are as follows:
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad4 decrements the animation mode
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad6 increments the animation mode
ctrl+windows+numpad5 turns off the lights
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad0 turns on all of the lights to the current color
ctrl+windows+numpadPlus increases the brightness
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpadSubtract decreases the brightness
ctrl+windows+numpadMultiply increases the speed
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpadDivide decreases the speed
ctrl+windows+numpad7 increments the red component of the current color
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad1 decrements the red component of the current color
ctrl+windows+numpad8 increments the green component of the current color
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad2 decrements the green component of the current color
ctrl+windows+numpad9 increments the blue component of the current color
2018-04-15 23:59:27 +02:00
2018-04-15 23:58:16 +02:00
ctrl+windows+numpad3 decrements the blue component of the current color