VirtualDesktop icon indicating copy to clipboard operation
VirtualDesktop copied to clipboard

Start process not in current vdesktop.

Open tplk opened this issue 8 years ago • 2 comments

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!

tplk avatar Aug 04 '16 04:08 tplk

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.

dlgltlzed avatar Oct 12 '16 12:10 dlgltlzed

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?

jonsq avatar Jul 21 '17 21:07 jonsq