This may be an odd question. I have a script that I’m debugging that has Myriad Tables calls. I have a routine in the script that figure out if it’s running in Debug mode (assuming the script is in the front window when it starts running) and if it is it sends all the MT calls to an app that only displays tables. When SD is in Run mode it displays the tables itself.
The problem is when the script is saved as an applet I want it to know at runtime that it’s not running in SD and doesn’t need to know the run mode of SD’s front window.