VirtualDesktop
VirtualDesktop copied to clipboard
Start process not in current vdesktop.
Hello, I've wanted to ask if it's possible to run a program in another desktop so it runs kind of in background. Right now I'm using something like this:
proc.Start();
proc.WaitForInputIdle();
IntPtr handle = proc.MainWindowHandle;
handle.MoveToDesktop(desk);
I've almost reached wanted result but window still blinks for a split second which is annoying. Thanks in advance, awesome work!
This feature would be awesome for running automated selenium tests. I am searching for a solution that starts the browser in another virtual desktop without actually switching to it.
Have you tried setting the window's initial opacity value to 0 and then back to 1 after it has moved to the 2nd desktop?