Page 1 of 1

Multiple RDP

Posted: 07 May 2021, 16:57
by cjsmile999
Hello Everyone! I was hoping you fine folks could help me out. I'm trying to create simple script that manages multiple RDP windows. I typically have somewhere between 5-8 rdp sessions going. I want to be able to FULL Screen, Restore, Maximize, and toggle through all the windows. What I can't seem to get working is the FULL Screen, Restore, and toggle while in FULL Screen. Below is what I have so far. Would appreciate any assistance.

Code: Select all

SetTitleMatchMode, 2 
GroupAdd, RDP, Remote Desktop Connection
return

Numpad6::GroupActivate, RDP ; Does not work in FULL Screen ;Toggle through windows
Numpad8::FULL Screen I actually have not clue what to use...haven't been able to find anything yet.
Numpad5::WinMaximize, ahk_group RDP
Numpad2::PostMessage, 0x0112, 0xF120,,, ahk_group RDP  ;Restore -- Kinda works, but never for all RDP sessions.
Thank you!