Jump to content
Sign in to follow this  
pumaz77

Its possible to check if any program is connected?

Recommended Posts

pumaz77

with auto it :$?

Share this post


Link to post
Share on other sites
somdcomputerguy

Ya, it could be possible..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
pumaz77

How please sir :$?

Share this post


Link to post
Share on other sites
somdcomputerguy
:D What program are you checking to see if it's connected, and connected to what?

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
pumaz77

A game, check if is connected, cause if my autoit press f9 and f10 when isnt connected (on main menu) it bug :$

Share this post


Link to post
Share on other sites
somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
pumaz77

It dont say if soft is connected :D

Share this post


Link to post
Share on other sites
Sobiech

Maybe this can be checked by pixelsearch :D

You can try with pixelGetColor

eg.

#Include <Misc.au3>

Opt("PixelCoordMode", 2)
$Title = WinGetHandle("Game Window NAme")
$Color = ;your color here (Get it from AutoIT window info tool)

While 1
If PixelGetColor(x, y, $Title) = $Color Then
ContinueLoop
Else
; What to do?
WEnd

This will check by some Pixel Color, I think if your game is conneted than pixel in X, Y will change... This can say to program "k game is connected ^^" and do rest of script.

You can add "ExitLoop" if you wanna exit from program (from a loop)


This world is crazy

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  

×