Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is useful for custom GUI work inside of Shogun of Shogun Post. This command can be used to check if a specified user window exists. This could be used before creating a user window to check if creating or destroying a window with a specified name would cause an error.

...

Return value

boolean

Examples

Code Block
languagetext
//code from AutoPropVST script

...


//check at start of operation for existence of the AutoPropVST window

...


//if it exists, destroy it so that it can be recreated in default form 

...


if(`windowExists "AutoPropVST"`)

...


{

...


    destroyWindow "AutoPropVST";

...


}

Scroll pagebreak

Additional information

...