P is for Practical | |
PerlMonks |
OT: Windows Non-Full-Screen Remote Desktopby marinersk (Priest) |
on May 22, 2015 at 13:15 UTC ( [id://1127469]=perlquestion: print w/replies, xml ) | Need Help?? |
marinersk has asked for the wisdom of the Perl Monks concerning the following question: Apologies for the off-topic post, but I asked this question at StackOverflow and, other than a mysterious drive-by downvote, I have had no response. I'm hoping someone here, with an eye toward automation in any environment where Perl runs, might have bumped into this and knows how to work around it. I'm trying to launch Remote Desktop in a way that permits my local keyboard-driven macros to manipulate the window without having to first reach for the mouse and click on the "Restore Down" button. I've tried a few variants of the command line invocation (both from Perl and from the actual command line) and I just can't seem to get it to launch in the mode I want without creating an RDP file. If that's the answer I have to have, then so be it, but I was hoping for one less layer of kludgeness here. My basic invocation technique is:
Adding the /fparameter forces it to occupy the full screen, as expected, but leaving the /foff leaves it in this odd hybrid state; it does not take up the full screen, but considers itself to be in full-screen mode, complete with the "Restore Down" button which needs to be clicked before my local keyboard-driven macros can assume control of the window. Any cluebats out there? I know it's likely a fairly odd request, since most people want full-screen mode, but being different is nothing new over here. : -)
Back to
Seekers of Perl Wisdom
|
|