For what it’s worth, you could (kind of) work something up like this right now- create an expression tag, and then use a tag change script. If the first thing you do is check that the value is true or false, you can determine your rising or falling edge, more or less. I say “kind of” and “more or less”, because there are other things like changing qualities that might trigger these events. This feature would do a bit more work to make sure it was triggering only at the correct time. Still, with a little bit of ingenuity in either your expression or script, you might be able to get really close.
This is a good idea. The while true / while false scripts would be easy to write using a timer script, but the on true / on false scripts might be tricky to get correct right now, as transitions may be cumbersome to detect reliably. I’ve added this to the feature request system.
Another thing that wonderware offers is scripts based on a window opening, closing, and periodic scripts based on the window being open. Is there any way to fire a script when a window opens or closes?
Sure, take a look at this following page in the user manual http://www.inductiveautomation.com/support/usermanuals/ignition/event_types.htm. Basically, you just select the window in the project browser you want to add the script to and press Ctrl-J which brings up the event handlers window. There you can select one of the internalFrame events to write a script for. Hope this helps. I can help more if I had an idea of what you are trying to accomplish.
Travis - Wow! I just saw your reply and checked it out. My question was more academic than immediate need. Now I have to ask, and as we are in the wish list area, why Ctrl-J? Why not have it show up with a right click like other components? I would have stumbled on this long ago if it had been a right click. Thanks for pointing me to it!
Yeah I went to talk with someone else here about accessing the events and by doing that saw all the many and wonderful ways to access the window events. I had my right-click blinders on and did not even think to look at one of the other ways to access the events. I still think it would be worth adding to the right click menu.