I'd be very interested to see what you have. I am currently exploring other ways (such as running a .bat file) that can shutdown EUO, but I still need a method to send this command.
Let me give you a brief overview of my ultimate goals for this:
#1. EUO constantly scanning the journal for any "you_see:" in your journal.
#2. When it see someone/something, it would send you a message (via IM preferably, if not by email)
#3. You can read the message to see what came on your screen. If it's something you care about you could:
-----A) Send a command back to terminate EUO
-----B) Send a command back to terminate EUO AND all your clients! (or some combination thereof)
Now, I have already found a program (
Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.01) that allows you to terminate processes as gracefully as possible by sending commands such as:
start c:\process.exe -q euox.exe
to terminate EUO. (The -q attempts to close it properly as if you simply click the X to close the program, but if a message such as a Save dialog pops up, it will wait 60 seconds, then Hard-Terminate the program as if you used the End Program command in the task manager). This is a great way to close both EasyUO and any clients using a simple .bat file!
My issue is how to get the messages from EUO and what method to send a command back to the computer. I've thought of some possible ways to send BACK to the computer
#1. Listen on a port for something and have a program that monitors that port. Any traffic on that port would run the .bat file
#2. Use Microsoft Outlook's Action capabilities to execute a program (Con: Person must have MS Outlook, haven't found a way to do it with Thunderbird yet)
#3. Use some kind of webserver that could relay commands to a computer somehow??
So....if I'm scripting afk and see someone who might page on me run by, I can send a command to my computer to terminate EUO and any clients I'm running! That's the most concise explanation I can give!
I've attached a .rar file with both the process.exe which is the Command Line Process utility as well as a sample .bat file called terminate.bat that would close any instance of euox.exe and client.exe that is currently running! You can play around with them if you like!