Page 1 of 1

find out if an executable is running

Posted: Wed Mar 30, 2022 2:36 am
by andyglezl
Alguien sabe si hay alguna forma de saber si un ejecutable está corriendo por medio de su nombre ???
Gracias
*-----------------------------------------------------------------------------------------------------------------------------
Does anyone know if there is any way to know if an executable is running by means of its name ???
Thanks

IF "NameExecutableIsRunning.EXE"
...
ELSE
...
ENDIF


OK, encontré esto, voy a probarlo...
*-------------------------------------------------
OK, I found this, I'm going to try it...

https://hmgforum.com/viewtopic.php?f=5& ... ing#p67436


OK, Funciona !
*------------------
OK, it works !

Thanks edk

Re: find out if an executable is running

Posted: Wed Mar 30, 2022 7:41 am
by serge_girard
IF IsAppRunning( cCurrApp )
MsgSTop( cCurrApp + " is already running !", "Quitting...")
QUIT
ENDIF