LoWang Posted February 6, 2015 Posted February 6, 2015 Hello, I created a RDPconnect script, which runs mstsc.exe /v:hostname and then fills in my credentials if it is W2K8 style prompt and presses enter or uses send() to type into a W2K3 style window and then presses enter. Works great but it also maximizes the window using Winsetstate("Default - "&$srv,"",@SW_MAXIMIZE) but the problem is I cannot then move such window, because when I move it it resets back to it's initial size whch I don't want. I have my default RDP settings not full screen but smaller then the display resolution, so I can see other windows besides this RDP window. How do I enlarge a window to its max size set in RDP properties resolution but not make it maximized? Thank you for ideas
jdelaney Posted February 6, 2015 Posted February 6, 2015 WinGetPos WinMove WinMove can resize. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now