lilandywandy Posted July 12, 2005 Share Posted July 12, 2005 if ( 323,323 ) has not been FFFFFF for 2 minutes, then press ESC Link to comment Share on other sites More sharing options...
w0uter Posted July 12, 2005 Share Posted July 12, 2005 step 1. search the manual. step 2. search the manual. step 3. ask SPECIFIC questions about unclear things. but since your probly to lazy search long. here are some keywords: pixelGetColor Sleep Send My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
buzz44 Posted July 12, 2005 Share Posted July 12, 2005 (edited) While 1 If PixeGetColor(323,323) <> Dec(0xFFFFFF) Then $Timer = TimerInt() While PixeGetColor(323,323) <> Dec(0xFFFFFF) If TimerDiff($Timer) > 120000 Then Send("{ESC"}) Wend EndIf Wend Or... $Temp = 0 While 1 If PixeGetColor(323,323) <> Dec(0xFFFFFF) Then If $Temp = 0 Then $Timer = TimerInt() EndIf $Temp = 1 If TimerDiff($Timer) > 120000 Then Send("{ESC"}) Else $Temp = 0 EndIf Wend Edited July 12, 2005 by Burrup qq Link to comment Share on other sites More sharing options...
lilandywandy Posted July 12, 2005 Author Share Posted July 12, 2005 HotKeySet("{PAUSE}", "mExit") MouseClick("left", 568, 23, 1) While 1 If PixelGetColor(368,707) <> Dec(0x00f742) Then $Timer = TimerInt() While PixelGetColor(323,323) <> Dec(0x00f742) If TimerDiff($Timer) > 10000 Then Send("{ESC}") Wend EndIf Wend Func mExit() Exit EndFunc i seem to get a timer error Link to comment Share on other sites More sharing options...
buzz44 Posted July 12, 2005 Share Posted July 12, 2005 Most probably because your an idiot. TimerInt() should be TimerInit(). And seeing as I actually wrote this script in my web browser without looking at the help file to see correct spelling etc, I'm not surprised. qq Link to comment Share on other sites More sharing options...
lilandywandy Posted July 12, 2005 Author Share Posted July 12, 2005 (edited) the program seems to run but when i flash the pixel with the color, it still presses esc after the time so ya, even when the pixel color is active, the prgram only turns on for the 2 mins Edited July 12, 2005 by lilandywandy Link to comment Share on other sites More sharing options...
buzz44 Posted July 13, 2005 Share Posted July 13, 2005 This is the last time I am replying because you are annoying me. Try the second alternative I posted, you should be more then grateful that me and w0uter actually bothered to assist you. qq 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