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 desktops/workspaces. I could easily implement it for Linux and MacOS, using window.setVisibleOnAllWorkspaces(true)
. But in Windows, I would have to make the user manually open task view, right click on the window, and enable "Show Windows from this App on all Desktops".
Is there a way to have that enabled via programming, so that I can write it in the program code itself? System commands, or API functions (if any) would be appreciated.
I'm using Electron v13.1.2, node v12.8.2, npm v6.14.5