Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Any way to set "Scale to Window" via the command line?

Post Reply
kelemvor
Posts: 5
Joined: 2015-01-12 18:04

Any way to set "Scale to Window" via the command line?

Post by kelemvor »

I'm trying to setup a command line to launch my VNCViewer. Everything works great but I need to set the "Scale to Window" option so I can get multiple windows on one screen. Is there any way to specify that setting via a command line argument? I don't see anything listed on the Help page I found.

Thanks.
UsernameIssues
8
8
Posts: 23
Joined: 2016-08-11 18:55

Re: Any way to set "Scale to Window" via the command line?

Post by UsernameIssues »

See the info here:
http://www.uvnc.com/docs/uvnc-viewer/52 ... eters.html

-autoscaling

Code: Select all

"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -autoscaling hostname:5900
-scale

Code: Select all

"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -scale 1/5 hostname:5900
where hostname is the remote computer.
kelemvor
Posts: 5
Joined: 2015-01-12 18:04

Re: Any way to set "Scale to Window" via the command line?

Post by kelemvor »

Yeah, neither of those options is what I want.

Auto Scaling sets the window size to match the host size. I want it the other way around.

Scaling with the ratio hard codes a size which also isn't what I want.

I've tried both of those options but neither one checks the bot under settings called "Scale To Window".

It seems that if I set it and then save the config, it's actually the option called Directx in the .vnc file.

But I was able to get it to work that way so I'm good for now.
Thanks.
AndyPopely
Posts: 6
Joined: 2011-01-09 00:50

Re: Any way to set "Scale to Window" via the command line?

Post by AndyPopely »

Add the command line option "-directx"

eg

"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -directx
Post Reply