Hello,
What type of value should be used as a second argument for the function closeEvent() ?
Here’s the reference link but it doesn’t help me much:
https://docs.thinkboxsoftware.com/products/deadline/10.0/2_Scripting%20Reference/class_deadline_script_dialog_1_1_deadline_script_dialog.html#add39a3f3f8e5a2eb801edf70c4c79275
Right now I have the following:
from DeadlineUI.Controls.Scripting.DeadlineScriptDialog import DeadlineScriptDialog
scriptDialog = DeadlineScriptDialog()
scriptDialog.CloseDialog()
scriptDialog.closeEvent()
And I get:
PYTHON: TypeError: closeEvent() takes exactly 2 arguments (1 given)
I’m trying to close the entire script without using exit() or quit() or SystemExit() because these builtin functions sometimes quit the entire Deadline Monitor app instead of quitting just the script.
Thanks