zVirtualDesktop icon indicating copy to clipboard operation
zVirtualDesktop copied to clipboard

API / command line arguments

Open mzomparelli opened this issue 5 years ago • 7 comments

Possibility to change desktop from command line/SDK. Hotkeys are ok for power user, but in my case I fear that it would be too much for them to handle. I was thinking about creating an APP that let them manage this from an UI, but I have to do it by sending key it sometimes failed if the user touch something. If I can't create a basic profile, I would like to be able to recreate it with a script. Ability to run a script on the first startup of a particular desktop Ability to give name to virtual desktop with SDK ability to launch a program in a particular virtual desktop. For myself It's fine I can do it from UI, but in my case it's useless if i can't do programmatically. This is just an example, but that's what I'm looking for :

zVirtualDesktop.exe -StartVDesktop "8" (start 8 virtualdesktop) zVirtualDesktop.exe -SwitchDesktop "1" (switch to desktop 1) zVirtualDesktop.exe -LablVDesktop "1" -Name "Customer 1" (assign label to virtualdesktop) zVirtualDesktop.exe -StartProcess "Program" -vDesktop "5" (start a program and pin the program to a particuliar desktop) zVirtualDesktop.exe -ShowAllCurrentVDesktop (Equivalent of Windows key + tab) zVirtualDesktop.exe -ListVDesktopProperties (list virual desktop with their current programs, label, ID, etc)

mzomparelli avatar May 09 '19 01:05 mzomparelli

Please consider adding a -PinApplication option, which accepts multiple arguments or can be used multiple times. I have several applications to "always share" across all desktops, and it's boring to configure them one by one. Thanks a lot!

wdscxsj avatar Oct 07 '19 07:10 wdscxsj

+1 All I need is to be able to change to another desktop from the command line.

oywino avatar Mar 13 '21 17:03 oywino

Would it be possible for zVDv2 to have a customisable hotkey to send CMDPrompt CMDs?

E.g; nircmd.exe win trans class Shell_TrayWnd 256

Now I know there is already a hotkey for toggling the hide/show of the taskbar, but occasionally with Windows 10, it can force itself above all other windows, even if those other windows have always on top.

Basically it's a very tedious process to constantly hit the windows key to show it again so the system automatically hides it, therefore I occasionally use NirSoft's nircmd to forcefully hide it.

I'm wonder if there might be the possibility of having zVD function as a quicker method to send CMDLine commands?

Anyway Michael, if you aren't familiar with NirSoft's utilities, I suggest you give them a look, they might benefit you.

Thanks.

SHHSSH avatar Jul 03 '21 03:07 SHHSSH

This is not really related to this issue as this issue is about zVD accepting command line arguments.

I did tweak zVD to do what you want though. Version 1.0.97.4 will do what you need using the Open a File action.

In the following screenshot I'm opening Brave browser in incognito mode. It works by putting the args on a new line.

C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe --incognito

image

mzomparelli avatar Jul 03 '21 19:07 mzomparelli

My server was not getting the updated exe. All is good now. The current version is 1.0.97.5 as of 2021-07-04

mzomparelli avatar Jul 04 '21 22:07 mzomparelli

How come mine says 1.0.97.0 and that I do have the latest version, if there is a 1.0.97.5 version out?

oywino avatar Jul 05 '21 20:07 oywino

Click the force update button on the settings form. These little changes aren't broadcast to all users until I publish a new minor build. This gives time to test with a smaller group.

mzomparelli avatar Jul 05 '21 22:07 mzomparelli