Montoring to see if a process is running Thread last updated on 2003-11-12 19:37:33

Posted by member 81361 on 2003-11-11 02:40:48

Another idea,

The ability to see if a process is running (do it by title or windowclass maybe exe file, not sure if thats possible) and have a command executed when its open. Im new to litestep so i could have just missed this functionality.

Example: i like the winamp taskbar doodad, but i only want it there when i open winamp, so u set it up like

OnOpen("winampdir\winamp.exe", !ShowAmp )
OnClose("winampdir\winamp.exe", !HideAmp)

where !Showamp and !Hideamp is a preprepped script

I have written some C++ code for process monitoring before (by title), but have no idea how to bundle it into a dll, esp a litestep plugin. if you want to take a look, ill put it on the net somewhere.

Thanks
--The_Spider

Posted by member 111 on 2003-11-11 04:01:00 link

Try WndMan.dll by Vendicator or one.dll

Posted by member 7 on 2003-11-11 04:40:03 link

Also check out literunner.dll.

Posted by member 182 on 2003-11-11 18:15:40 link

yup, literunner.dll is where it's at :)

Posted by member 81361 on 2003-11-12 03:01:38 link

Unfortunately neither literunner, WndMan or one have the *OnClose
WndMand does have *OnOpen though. i might have to put in the extra effort to make a few clicks to close the winamp bar myself, :-)

Posted by member 7 on 2003-11-12 03:13:05 link

*OnRun "Class" "Caption" !BangOnRun !BangOnClose

Posted by member 182 on 2003-11-12 19:37:33 link

easy when you know how :P