Evaluate dialog as calling context
How can a script procedure determinate, whether or not it was called from the context of the evaluate Dialog?
I added assertions to my Scripting Code, which do stop the test run under unexpected conditions. Using the evaluate/inspect function simply executes any function or property of an object variable having no Parameters, regardless of whether they should be executed in the given Situation or not, thus triggering my assertions.
Probably an existence check for the evaluate window would do the Job (should run fast..)?
I would use FindChild off the TestComplete process and see if you can locate the window.