Interface View Size when running a Script?

Started by tropolite, Today at 03:23:36 AM

Previous topic - Next topic

tropolite

Hi

I usually use the View of Zoom 1:2 to reduce the application size but when running a script it keeps the view at 1:1 filling the screen.

Is there a way either to set the default View to Zoom 1:2 or set the View size within a script when converting a folder of files?

Appreciate any assistance..
T

eumagga0x2a

If you absolutely cannot use the CLI application, e.g. because you need hw accel features (hw video decoders or encoders, OpenGL video filters), you can minimize the window of the graphical application using QtGuiWindowMinimize() method in Gui() class, e.g.

gui = Gui()
gui.QtGuiWindowMinimize()

There is no way to script default zoom value.

By the way, why not running Avidemux on a separate workspace / on another virtual desktop? At least on Windows. On Linux it will impertinently pop up on your current workspace right in your face when encoding is finished, at least with gnome-shell, unfortunately.