forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Check for exe run - if not running - shell open

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Sun Oct 27, 2002 10:21 pm    Post subject: Check for exe run - if not running - shell open Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Oct 27, 2002 10:33 pm    Post subject: Reply with quote

You can use a Dialog Title or Class Name if the executable has a dialog showing. Smile
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Sun Oct 27, 2002 10:56 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group