Home/ Reference/ Application

app.WindowState / app.Visible

Window state (minimized, maximized, restored) and visibility.

Signature

app.WindowState / app.Visible

Notes

Window state (minimized, maximized, restored) and visibility.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
# window state: 0=normal 1=minimised 2=maximised (run once to confirm per version)
app.WindowState = 2
print("Window maximised")

app.Visible = False      # hidden UI runs noticeably faster for batch work
# ... your batch work here ...
app.Visible = True       # show it again afterwards so you can check the result

About this section: Application

Application — the CorelDRAW application object.

Other entries in this section