Avidemux Forum

Avidemux => Windows => Topic started by: Roger Rogers on May 08, 2020, 03:04:23 AM

Title: Closing down Avidemux from within a script file
Post by: Roger Rogers on May 08, 2020, 03:04:23 AM
#
# Closing Down from within a script file
#
ui = Gui()
adm = Avidemux()

# Main

ui.displayInfo("Hello World","")

adm.Exit();

--------------------------------------------------------------------------
Does anybody know how to close and exit Avidemux from a project py file

I have seen some old files that used "Exit" but it seems not to work in the latest version.

Thanks Roger
Title: Re: Closing down Avidemux from within a script file
Post by: eumagga0x2a on May 08, 2020, 01:08:10 PM
Quote from: Roger Rogers on May 08, 2020, 03:04:23 AM
Does anybody know how to close and exit Avidemux from a project py file

This is possible only on command line (the option --quit for Avidemux executable), not with internal python scripting.