eksime / VDesk

Launch programs on new virtual desktops.
GNU General Public License v3.0
625 stars 57 forks source link

Cannot noswitch start Onenote on other desktop #63

Open DoS007 opened 5 years ago

DoS007 commented 5 years ago

I'm on Desktop 2 and want to start onenote 2016 without switching on desktop 1. I'm using the following batch file code:

@echo off vdesk on:1 noswitch:true run:"C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE"

I get this error (and onenote gets started on the current desktop 2 - and not 1) grafik

Testing the code with another program like notepad shows no error and it correctly starts one desktop 1. So this seems to specific to onenote 2016 and other like programs.

What to do, for fixing?

Edit: Another similiar problem also exists with OneNote uwp (freely installable from ms store). On my system i can start it by batch using "start shell:AppsFolder\Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim". See https://stackoverflow.com/questions/53011084/how-can-i-start-an-uwp-application-through-a-batch-file how to start it on your system. Using vdesk for this also starts it on false desktop (like for OneNote).

mrsylerpowers commented 5 years ago

I believe this is a duplicate of #54