This project has moved and is read-only. For the latest updates, please go here.

Can TSMW trigger a program statement in my application?

Topics: Examples
Aug 18, 2016 at 11:34 PM
I am developing a scheduler application in C#. It reads a collection of user settable clock controls that specify hr.min.sec. When the system clock matches one of these timers I would like to execute a statement in my application. Is there a way to do this with TSMW? It appears as though Actions only execute external .exe programs (or send emails). Is this correct?
Aug 19, 2016 at 5:59 PM
There is an action, ComHandlerAction that calls a COM interface. You could build it into your program's executable and then register it as a COM server. Another trick is to have your program take an argument that will look for the running process and then call do whatever you need. You can then use the ExecAction to call the program with those arguments.