AWS Thinkbox Discussion Forums

Close SMTD Dialog by script

Hey there,

closing the smtd dialog doesn’t do anything

try(destroyDialog SMTD_StartupDialog_Rollout )catch()

is there any chance to close this by script?

background:
i’m storing the settings to scene

SMTDFunctions.storeSettingsWithScene()

-then i do some changes in SMTD Settings
-make my submitt
but if the smtd window is open on this process, my previously saved settings get lost or are overwritten…

Thanks for your help!
GJ

ok have the solution!

try(destroyDialog SMTD_MainRollout)catch()

Does this job. After this dialog is closed, the settings are correctly saved to scene and are not overwitten after submission.

Privacy | Site terms | Cookie preferences