https://github.com/resir014/ahk-luamacros-test
An example of using Luamacros + AutoHotkey with a second keyboard on Windows.
https://github.com/resir014/ahk-luamacros-test
autohotkey autohotkey-script lua macros
Last synced: 10 months ago
JSON representation
An example of using Luamacros + AutoHotkey with a second keyboard on Windows.
- Host: GitHub
- URL: https://github.com/resir014/ahk-luamacros-test
- Owner: resir014
- License: cc0-1.0
- Created: 2017-03-06T03:59:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T04:17:43.000Z (over 9 years ago)
- Last Synced: 2025-04-01T00:38:57.886Z (about 1 year ago)
- Topics: autohotkey, autohotkey-script, lua, macros
- Language: Lua
- Homepage:
- Size: 23.4 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ahk-luamacros-test
> An example of using Luamacros + AutoHotkey with a second keyboard on Windows.
The following scripts are based on the original implementation made by Taran from LinusTechTips, available [here](https://github.com/TaranVH/2nd-keyboard). The included sample code provides some useful keyboard shortcuts for Photoshop made by a friend of mine (available on the attached `Photoshop Hotkeys.docx` file).
## Getting started
Either follow the instructions below or [watch this video](https://youtu.be/Arn8ExQ2Gjg?t=362).
1. Download and install [LuaMacros](http://www.hidmacros.eu/) and [AuthoHotkey](https://autohotkey.com/).
2. Plug in both keyboards.
3. On both the `.lua` and `.ahk` files, ensure you've switched the hard-coded `Users` directory into your current user.
4. Run LuaMacros and open `macros.lua`
5. Click on the "play" button, wait for the identification window to pop up and press any key on your 2nd keyboard.
6. Run `photoshop_hotkeys.ahk`. The AutoHotkey tray icon will show up.
You're good to go!
## References
* [DIY 87-Key Macro Keyboard](https://www.youtube.com/watch?v=Arn8ExQ2Gjg) by LinusTechTips
* [The Art of the Bodge](https://www.youtube.com/watch?v=lIFE7h3m40U) by Tom Scott
* [LuaMacros](https://github.com/stevedonovan/LuaMacro)
* [AuthoHotkey](https://github.com/AutoHotkey/AutoHotkey)