Here is a little script you can use:
from eg.cFunctions import GetProcessDict
newProcesses = GetProcessDict()
for x in newProcesses:
if "notepad.exe" == str(newProcesses[x]):
print "Process found, now stopping script"
eg.StopMacro()
just replace notepad.exe with steam.exe or whatever it is ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 2 matches
- Tue May 20, 2014 7:48 am
- Forum: General Support
- Topic: Help: disable macro if a condition is meet.
- Replies: 3
- Views: 2581
- Sun May 18, 2014 7:24 pm
- Forum: General Support
- Topic: Help: disable macro if a condition is meet.
- Replies: 3
- Views: 2581
Help: disable macro if a condition is meet.
hi. i've been using event ghost for some time and i'm having some trouble.
as i use eventghost on a HTPC as the windows shell, i've configured a macro that automatically restarts XBMC if it crashes, using process watcher (Process.Destroyed.XBMC -> run program XBMC.exe)
what i want to do is to ...
as i use eventghost on a HTPC as the windows shell, i've configured a macro that automatically restarts XBMC if it crashes, using process watcher (Process.Destroyed.XBMC -> run program XBMC.exe)
what i want to do is to ...