Hmm... The only conceivable way I can see of doing it is monitering if the process is running (if it is even indeed possible) and then changing the script.
It's also a possibility that you could use the XFire API (if there is one...) and connect to it via script. Pure guesswork on my part though.
Cloudy
Sig by pirateok/marisaok/marisa
quote:Originally posted by Moulin Rouge
The greatest thing you'll ever learn, is just to love and be loved in return
Well as cloudhunter said the best way would probably be to have a timer and check the existence of the process (using Interop.Call and the Windows API, or creating a DLL) and changing status accordingly.
I don't know of a way that the script can be notified the moment Quake is started, though.
This post was edited on 06-26-2006 at 11:38 PM by segosa.
The previous sentence is false. The following sentence is true.
It can't because JScript can't get events (grrrrrrrrrr) ... you'd have to do it on a timer. Isn't Quake full screen though? Messenger has an option to change your status to Busy automatically when fullscreen apps are open..
Or you could do it completely differently and write a script that looks for keywords, such as !quake. It would then run Quake (/run <path> ) and change your status etc.
Leet Sig can monitor current forground apps - So a script similar to that should work but that would monitor all forground apps - so therefore they would all appear. - (Maybe it can be scripted to only show the one that your requesting)
Some people might like that I spose.
Is this possible? I don't know.
(If you look at my second Sig at the top it reads -"Current Foreground App - " Thats what I'm talking about)
This post was edited on 06-29-2006 at 10:10 AM by Mentality.