When I sit down at my desk in the morning, I VPN/RDP from my home computer to my work computer. I work in that RDP session (remote desktop) in full screen so all my keystrokes go to the remote computer.
I want to catch the volume up, volume down, and volume mute keys on my keyboard and redirect those to my local PC. By default, those keys change the volume on my remote computer when I'm in the remote desktop session.
Is there a way to get AutoHotKey to catch those keys and change the volume on my local computer instead of changing the volume on the remote computer?
Thanks for you help.
AutoHotKey with Remote Desktop (RDP)
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: AutoHotKey with Remote Desktop (RDP)
I use alternate programs for remote control than the standard RDP, so I can't say if it'll work, but you could try making hotkeys that set the volume manually. Run it AFTER starting the RDP session, so the hook takes precedence (may or may not be needed).
Code: Select all
$volume_up::soundSet,+2
$volume_down::soundSet,-2
Re: AutoHotKey with Remote Desktop (RDP)
I just tested the above hotkeys:
oVPN-->standard RDP-->Fullscreen = no go.
oVPN-->standard RDP-->Maximized = works.
HTH
oVPN-->standard RDP-->Fullscreen = no go.
oVPN-->standard RDP-->Maximized = works.
HTH
- Masonjar13
- Posts: 1555
- Joined: 20 Jul 2014, 10:16
- Location: Не Россия
- Contact:
Re: AutoHotKey with Remote Desktop (RDP)
Hm. What about borderless fullscreen? (maximized resized to the entire screen, remove the caption)
Re: AutoHotKey with Remote Desktop (RDP)
Can't you set whether volume controls operate on the remote or local machine in the settings of RDP? It's been a while since I've used it but I remember there is a tab to differentiate whether certain things go to the remote session or not.
-
- Posts: 13
- Joined: 02 Aug 2017, 17:59
Re: AutoHotKey with Remote Desktop (RDP)
If the RDP is connected to a network drive, can you have a script running
On the RDP that does;
Hotkey::
FileAppend, VolUp, mydoc.txt
on your PC that does
Loop
fileread, mydoc.txt
If In string, X
volUp
just an idea
On the RDP that does;
Hotkey::
FileAppend, VolUp, mydoc.txt
on your PC that does
Loop
fileread, mydoc.txt
If In string, X
volUp
just an idea
Who is online
Users browsing this forum: downstairs, filipemb, Google [Bot], OrangeCat, roysubs and 163 guests