MScholtes / VirtualDesktop

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

Add usage example of /InsertDesktop to README.md #24

Closed LinqLover closed 3 years ago

LinqLover commented 3 years ago

See #19. Actually, it took me way too long to figure out how two arbitrary desktops can be inserted/swapped, so perhaps this might be worth an entry in the README.md. 😅

MScholtes commented 3 years ago

Thank you very much for your note

LinqLover commented 2 years ago

Did you remove the example by accident again?

https://github.com/MScholtes/VirtualDesktop/commit/64291799963deaa8709dec11bef750e62a4594f1#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L120-L122

MScholtes commented 2 years ago

No, starting with Windows 11 there is an API function "MoveDesktop" that does a similiar job and replaces InsertDesktop. To avoid misunderstandings I removed the example that only works with the Windows 10 version of the tool.

Greetings

Markus

LinqLover commented 2 years ago

Ah, I see, thanks. I'm still on Windows 10 (and will probably stay there for some time). Maybe add a git tag for each older version? :-)