MScholtes / VirtualDesktop

C# command line tool to manage virtual desktops in Windows 10
MIT License
606 stars 60 forks source link

Windows 1809 #6

Closed starik1968 closed 6 years ago

starik1968 commented 6 years ago

Hello, if I try to move an app, how can I get the name for the process to move? Tried it with different programms, only Essential PIM could moves with mv:EssentialPIM and the tool WInLister, mw:firefox e.g. failed. What went wrong?

Thanks in advance

cu Friedrich

MScholtes commented 6 years ago

Hello Friedrich,

first, sorry for the late answer.

I guess your trouble is to find the correct process to move. E.g. Firefox starts several processes to optimize web page rendering. You can only move the Firefox window to another desktop when you move the process that opened the window.

In PowerShell you can retrieve the processes to the Windows with the following command:

Get-Process |where {$_.mainWindowTItle} |format-table id,name,mainwindowtitle –AutoSize

(Source: https://blogs.msdn.microsoft.com/powershell/2009/05/22/get-windowtitle-ps1/)

Maybe that will help you find the correct process to move.

Dear

Markus

starik1968 commented 6 years ago

Hi Markus, great! Did what I wanted, I have identified the processes I needed to identify. Great tool! cu Friedrich

MScholtes commented 6 years ago

You're welcome

Markus