Sign in to follow this  
Followers 0
Evil2000

Local Hotkeys even if Fullscreen RDP is active

3 posts in this topic

Hello all.

I'm trying to use a script which registers some F-keys to execute a mouseklick if the key is pressed:

Func RegisterHotkeys()
HotKeySet("{F5}", "ClickMuteMic") ; F5=Mute Mic
HotKeySet("{F6}", "ClickAnswerCall") ; F6=Answer/Hold Call
HotKeySet("{F7}", "ClickRedirectCall") ; F7=Redirect Call
HotKeySet("{F8}", "ClickHangupCall") ; F8=Hangup Call
HotKeySet("{PAUSE}", "ClickAnswerCall") ; Pause=Answer Call
HotKeySet("!{PAUSE}", "Terminate") ; ALT+Pause=End Script
EndFunc

This is done at the beginning of the script.

The script a an endless loop, so it will stay in the background, waiting for the keys to be pressed.

If the script is running and a RDP session is opened in fullscreen, the hotkeys are send to the remote machine and my srcipt does not react on the keypress.

How can it be achieved that the script is able to react on the hotkeys even if the RDP is in fullscreen?

I tried to re-register the hotkeys if the RDP window gets the focus, but it did not help.

Many thanks for any advice!

Evil2000

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Looks like a fullscreen RDP Window takes exclusive ownership of your mouse and keyboard input.

_WinAPI_SetParent doesnt work. Neither a low level proc.

Maybe try to set a resolution 1 step smaller than your desktop resolution, so you can operate in maximized (not fullsreen) mode, in which the hotkeys will work. Or use WinMove to emulate a maximised window.

Edited by qsek

Teamspeak 3 User Viewer - Quick and functional TS3 Query script, which shows online users.Cached Screenshot Deleter - Deletes older Fraps Screenshots if they exceed a specified limit.Unresolved Topics:Intercept and modify dragdrop text behaviour in scite

Share this post


Link to post
Share on other sites

I think this is the case with most (all?) full screen applications. Is it simply not possible with Autoit to make hotkeys that work everywhere?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0