| View previous topic :: View next topic |
| Author |
Message |
noveltech Contributor

Joined: 16 Sep 2002 Posts: 105
|
Posted: Sun Oct 27, 2002 10:21 pm Post subject: Check for exe run - if not running - shell open |
|
|
Check for exe run - if not running - shell open
Trying to get vds code to check for existance
of a specific exe running now?
If not...open the specific exe!
All feedback appreciated! thanks, nt |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Oct 27, 2002 10:33 pm Post subject: |
|
|
You can use a Dialog Title or Class Name if the executable has a dialog showing.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Oct 27, 2002 10:56 pm Post subject: |
|
|
Using WINLIST - it can check a partial match:
| Code: |
LIST CREATE, 1
LIST WINLIST, 1
if @not(@match(1, "Internet Explorer"))
SHELL OPEN, "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
end
|
Using @winexist() - it must match exactly:
| Code: |
if @not(@winexist("about:blank - Microsoft Internet Explorer"))
SHELL OPEN, "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
end
|
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
|