Sign in to follow this  
Followers 0
Shyke

Amount of launched files open?

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Even with those I can't possibly think of a way to do that....

Share this post


Link to post
Share on other sites

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 example

Dim $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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0