Questions tagged [virtual-desktop]

66 questions
50
votes
0 answers

API for Windows 10 virtual desktops

Is there any way to enumerate, switch, add virtual desktops and move window between desktops from code? Preferably, WinAPI.
Alex Butenko
  • 3,664
  • 3
  • 35
  • 54
26
votes
2 answers

Starting programs on multiple desktops using powershell in windows 10

Suppose I want to start several programs C:\program1.exe, C:\program2.exe, etc. on multiple desktops in windows 10. For example, programs 1 and 2 should be started on desktop 1 side-by-side, program 3 should be started on the second desktop, while…
HRSE
  • 363
  • 1
  • 7
  • 13
9
votes
1 answer

Windows 10 IVirtualDesktopManager::MoveWindowToDesktop

I've been trying to use IVirtualDesktopManager::MoveWindowToDesktop to move windows between virtual desktops. Using it on my own windows works great but unfortunately it fails with E_ACCESSDENIED when I try to use it on the window of another…
Nopt
  • 93
  • 5
8
votes
1 answer

Windows 10: touchpad gesture with custom action (using config file programming)

I have looked over the Internet for a way to change the actions of the different gesture on my touchpad on Windows 10 and did not find anything except the software made by the provider of the touchpad, which only allows me to reverse scrolling and…
8
votes
0 answers

How to move a window between desktops using powershell/.net on windows 10

I'd like to be able to using powershell start a process and move any windows created by that process to a particular virtual desktop. Any ideas?
Eva Lacy
  • 1,257
  • 10
  • 24
8
votes
2 answers

Can you detect Mac Spaces in Java?

I have a java application that was mainly built for the Mac. I need to be able to do either one of three things: Have my application always follow the current space. Meaning, if I'm on Desktop 2 and start my app, then I switch to Desktop 3, my…
dream_team
  • 511
  • 5
  • 9
7
votes
0 answers

Move window of other process to another virtual desktop

So I am implementing a win-tab-like interface under Windows 10. I trying to move window of other process to another virtual desktop. Using API from this question I can already move my own application to any desktop. But when I am moving other…
Cai
  • 71
  • 3
6
votes
3 answers

Can I Change the Gnome 3.10 Workspace Grid?

I really like Gnome 3 but I recently upgraded to Ubuntu 13.10 and installed Gnome 3.10.1. Before I could just turn on the extension "Workspace Grid" and be set. Now it shows that this extension is out of date. Is there any other way to configure…
x000111
  • 61
  • 1
  • 4
5
votes
1 answer

Very negative values from GetWindowRect for Explorer windows when using VirtuaWin

I'm hacking together something that lists every window on my Windows box, and it seems that for (only) one of my windows GetWindowRect is returning a rectangle with very negative y-coordinates. Possible complications: (1) I have multiple monitors…
Gareth McCaughan
  • 19,888
  • 1
  • 41
  • 62
5
votes
1 answer

In Windows 10, how can we determine which virtual desktop a window belongs to?

Concerning Windows 10 and its new virtual desktop feature, is there a way to determine which virtual desktop a particular window belongs to? And, which virtual desktop is active? The problem can be seen using the Snipping Tool. Open the tool and…
CaptureWiz
  • 1,685
  • 1
  • 15
  • 15
4
votes
1 answer

Autohotkey Windows 10 Virtual Desktops

I have an AHK script which saves window positions. At the moment I save Title, X, Y, Width, Height, Class, FullPath etc. I also want to save on which Virtual Desktop they are located on. I dont know how Windows 10 handles Virtual Desktops: Do they…
4
votes
0 answers

Multiple instances of Visual Studio Code on multiple Windows virtual desktops

On Windows 10 I frequently use it's virtual desktops feature. I usually need multiple instances of VS Code to be opened in different virtual desktops. The little inconvenience I'm having is to do with opening a file with VS Code on one virtual…
Gailius
  • 41
  • 2
4
votes
1 answer

Using IVirtualDesktopManager in Delphi

I'm trying to use IVirtualDesktopManager in Turbo Delphi on Windows 10. I don't get any errors but the IsWindowOnCurrentVirtualDesktop and GetWindowDesktopId do not return anything useful. Does anyone know what I'm doing wrong here? Thanks. unit…
John Abels
  • 49
  • 4
3
votes
0 answers

Show window of app on all desktops in Windows, but programmatically

I am trying to develop a software (using ElectronJS) that would assist in dragging and dropping content across windows and virtual Desktops, in Windows. However, for it to work, I must be able to display the same window across all the virtual…
3
votes
1 answer

Can Windows subsystem for linux (WSL) run in Virtual Desktop?

The IT department at work decided to switch from using VPN to a Virtual Desktop solution. Does anyone has experience using WSL 1/2 inside of virtual desktop ? Is it possible to do it? Just want to know before talking to the IT .
1
2 3 4 5