Shyke Posted October 7, 2005 Share Posted October 7, 2005 Is there anyway that I can make it so that my program will only launch an external program if there is less then x amounts open? Link to comment Share on other sites More sharing options...
Valuater Posted October 7, 2005 Share Posted October 7, 2005 (edited) look for "processexists" in help help has very good demo's at the bottom of each page on your computer press the following Start > All Programs > Autoit v3 > Autoit Help File when that loads then press the "search" tab then type in "?your search?" and press "List Topics" **** you can do this with any word you want thats what i do all the time 8) more like your need is "processlist" Edited October 7, 2005 by Valuater Link to comment Share on other sites More sharing options...
Shyke Posted October 7, 2005 Author Share Posted October 7, 2005 Even with those I can't possibly think of a way to do that.... Link to comment Share on other sites More sharing options...
CyberSlug Posted October 7, 2005 Share Posted October 7, 2005 Even with those I can't possibly think of a way to do that....Did you take a look at the process list example?? Just add a counter to the notepad exampleDim $count = 0 ; List just notepad.exe processes $list = ProcessList("notepad.exe") for $i = 1 to $list[0][0] $count = $count + 1 next MsgBox(4096,"Count",$count & " instances of notepad are running")If $count < x amounts Then launch external program.... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now