Feb 1, 2012 at 10:07 AM
Edited Feb 1, 2012 at 11:29 AM
I have a requirement to automate interaction with a desktop app on a remote machine.
Is it possible for white to
2. get handles to application controls
Please guide me, if you've worked in that direction.
I tried using WCF service hosted in a Windows Service. I call the WCF service from a remote computer, and then it is supposed to launch the desktop application on the host. It doesn't launch the application but no exception is thrown at the AttachOrLaunch()
call. After launching if I try to call GetWindows() - it always returns an emtpy collection of windows.
I say always as I observed this: I tried attaching to an already running desktop application.
It attaches OK and no exception is thrown. But when I call GetWindows() it returns an empty set even if there is already an open window present maximized.
Is White(and Windows Automation in general) designed not to automate based on remote calls? Is that a security restriction by design?