Jump to content

need help at looking at X place detecting X thing


Recommended Posts

yeah if at 100,100 is X color it will run X script is that possible? and if its could someone make me litle example :)

PS. sorry for making this many topics :<

EDIT: or if in 100,100 position is Y picture it will run the script..

EDIT2: or detect connection lost and run X script.. =)?

Edited by zutto
Link to comment
Share on other sites

yeah if at 100,100 is X color it will run X script is that possible? and if its could someone make me litle example :)

PS. sorry for making this many topics :<

EDIT: or if in 100,100 position is Y picture it will run the script..

EDIT2: or detect connection lost and run X script.. =)?

$x = pixelsearch(100,100,rightcords,bottomcords,color you want)
If not @error then
;add rest of your script here for it to run if pixelsearch() is correct

An even beteer example:

HotKeySet("{ESC}", "Terminate")
Func Terminate()
EndFunc
$x = pixelsearch(100,100,100,100,color you want)
If not @error then
MouseClickDrag("left", 38, 39, 578, 393)
Edited by TnTProductions

"FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"

Link to comment
Share on other sites

you have to use pixel searches for these kind of scripts so if it finds the color in your pixel box (you give cordinats) it will activate the rest of your script

Enjoy

"FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...