AnsweredAssumed Answered

efm Function "TheView.IsFormOpen" ?

Question asked by juergen.hinterleitner on Feb 20, 2019
Latest reply on Aug 2, 2019 by juergen.hinterleitner

Hi there!

We use meanwhile a lot of own .efm Script-Forms, for our Automation. (also when they have the complete silly editor, which loose always the syntax highlighting)


These forms have more problems. Currently I fight for a solution, to find out, if a User already had opened one Form.

Because always when you click: "run formX.efm", a new instance is starting.


I don't like that, instead I will check if  the wanted form is already running.


With C# and check Processes.... no way. The .efm Subforms are not detectable!


I found direct in .efm code the command: TheView.IsFormOpen(String) Bool

But it seems not to be work, and no help available.


  1. Has anyone an idea to check for already opened Mentor efm-Forms?
  2. Has anyone an idea how "TheView.IsFormOpen" works?


The last way I'll do is, to write an own intelligence (add a notice to a textfile, "opened, timestamp" and closed ("TheView.TerminateEvent") - because in case of a crash this system fails.