rpray Posted April 9, 2009 Posted April 9, 2009 I have a set of users who for some of their job functions must go out to a Terminal Server environment, we have obtained a third party tool bar that will slide in from the side of the monitor so that they can launch the fat applications that we don't allow on the Term Server locally on their PC.The problem that we are encountering is that the apps run behind the RDP window - which must run maximized.We already have a VBSCript that is running in the background on the devices and it would be easy for us to add code to that, what we're hoping for is a way to essentially simulate the "switch to" or "bring to front" functionality of the task manager. We've tried using appactivate and using send keys to maximize the page, but it just doesn't work.Granted the users can minimize the RDP window, but we're not talking about the swiftest group of users here.Any thoughts from anyone?
gunsmokingman Posted April 10, 2009 Posted April 10, 2009 Since you tried appactivate and send keys have you thought of just minimize all windows, then run your code then undo the minimize all windows.Dim Shl :Set Shl = CreateObject("Shell.Application")Shl.MinimizeAll'-> Place Code That You Need HereWScript.Sleep 1000Shl.UndoMinimizeAll
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now