Closed hugalafutro closed 3 years ago
I haven't figured out how to do this in hass-workstation-service without a third-party tool. I'm doing it with Autohotkey until it's natively supported. Install AutoHotkey, you can make a file C:\Users\Public\Public Documents\Next.ahk
that contains this;
Send, {LShift Down}n{LShift Up}
ExitApp
and in hass-workstation-service, add a CustomCommand with the full path to the .ahk file in quotes; "C:\Users\Public\Public Documents\Next.ahk"
and use the automatically created switch in HAS to toggle it.
I do something similar to trigger hotkeys for adjusting fan curve speed with ArgusMonitor, silencing my desktop PC fans when I open the Plex app on my LG TV.
Thanks for the suggestion, I was thinking there could be some roundabout way of doing it, but was hoping for something straightforward as I'm trying to reduce the number of codependent automation tools in order to reduce any potential points of failure. I've recently switched to iotlink and i personally find it easier to work with for what I need so I might as well close this I guess.
Hi,
Many thanks for this app I successfully replaced join+chrome+eventghost+autoremote with just one app. I am having trouble creating custom keystroke command. I wish to create a custom "Next" command, as the media key Next doesn't do anything unless you are playing a playlist. Whereas pressing SHIFT+N forces next video on youtube (or jellyfin) regardless if in playlist or not.
I can find the hex values in https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes, SHIFT is 0x10, N is 0x4E. Is there a way to combine the values so I can type SHIFT+N? What do I need to put into the "Key" of the custom command?
Thanks for any ideas!