Jump to content

FifteenFifty

Active Members
  • Posts

    30
  • Joined

  • Last visited

FifteenFifty's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Cool, thanks for your reply. Next question is.. How do I do each?
  2. Heya, it's been a long time since I last posted here I'm wondering if I can do three things with autoit: Pixelsearch for NOT a color (Find the first pixel in a square that isn;t black or white)Find the darkest pixel in a picture, and it's coordsSelect or copy an image in an internet browserAlso, can Autoit find colors etc on a picture while it's in the clipboard, or would it have to be pasted onto the screen somewhere? Thanks!
  3. I have 4 strings of 19-digit numbers (the first 9 numbers are always the same) Would autoit be able to recognise a pattern between the other numbers and generate more 19-digit numbers that woukd be accepted? Thanks
  4. tried that, doesn't work \edit, the Entropia Universe window is called "Entropia Universe" (without the quotes ofc)
  5. When i'm in a game (Entropia Universe) it likes to makes itself topmost ontop-status so much that i can't even send a hotkey to an autoit script while i have the game maximised or even in window mode(!) Is there a way i can make this damn annoying window second priority to autoit hotkeys or at least let a specific hotkey through (F12 for example) which will open another window on top of the game window? If the game is minimised for more than like 20 seconds it loses connection :S Basically what i want to do is be able to bring up the windows solitaire window ontop of the game while the game is still running and maybe (?) still be able to control the game underneath it. If thats not possible then be able to close the solitaire window and carry on with the game. Once i can send hotkeys through the game being maximised it will open up a lot more possibilities other than just solitaire Thanks in advance for your help! FifteenFifty
  6. hey, how can i check if the mouse is moved? i need it so if the mouse is not moved in 20min the computer shuts down Thanks
  7. ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template AutoIt script. ; ; ---------------------------------------------------------------------------- ; Script Start - Add your code below here $answer = MsgBox(4, "ls bot Beta", "ls bot. Run?") ; Check the user's answer to the prompt (see the help file for MsgBox return values) ; If "No" was clicked (7) then exit the script If $answer = 7 Then MsgBox(0, "ls bot beta", "OK. Bye!") Exit EndIf HotKeySet ("{HOME}","_exit") Sleep (5000) _clicky () Func _clicky () While 1 Sleep (200) PixelSearch (374,254,376,256,6525654) If Not @error Then MouseClick ("left",473,274,1,3) Else ExitLoop EndIf WEnd _checkitem () EndFunc Func _checkitem () MouseClick ("left",473,274,1,3) Sleep (500) MouseClick ("left",473,274,1,3) _item () EndFunc Func _item () PixelSearch (344,353,373,367,11387879) If Not @error Then Mouseclick("left",402,362,1,3) Sleep (100) Mouseclick("left",412,362,1,3) Sleep (100) Mouseclick("left",417,362,1,3) Sleep (100) Mouseclick("left",427,362,1,3) Sleep (100) Mouseclick("left",437,362,1,3) Sleep (100) Mouseclick("left",447,362,1,3) Sleep (100) Mouseclick("left",457,362,1,3) Sleep (100) Mouseclick("left",467,362,1,3) Sleep (100) Mouseclick("left",477,362,1,3) Sleep (100) Mouseclick("left",487,362,1,3) Sleep (100) Mouseclick("left",497,362,1,3) Sleep (100) Mouseclick("left",507,362,1,3) Sleep (100) Mouseclick("left",517,362,1,3) Sleep (100) Mouseclick("left",527,362,1,3) Sleep (100) Mouseclick("left",537,362,1,3) Sleep (100) Mouseclick("left",547,362,1,3) Sleep (100) Mouseclick("left",557,362,1,3) Sleep (100) Mouseclick("left",567,362,1,3) Sleep (100) _lifecheck () EndIf If @error Then _lifecheck () EndIf EndFunc Func _lifecheck () While 1 pixelsearch (248,255,250,257,6525654) If @error Then Sleep (2000) Else ExitLoop EndIf WEnd Sleep (2000) Mouseclick ("left",368,304,1,3) Sleep (2000) _clicky () EndFunc Func _exit () Exit EndFunc how do i fix the recursion error with lifecheck?
  8. np, i dno if it works yet, i'll test it in the scite editor i think it works, thanks for your help, i think i might understand how to stop functions trapping themselves now
  9. right, im back but i still don't see how it is trapping itself, if it holds q for 2 secs then what it's looking for should come into view, then it'll exit and run the other func, thats how i read it but im probably wrong
  10. ok i'm afk eating for a bit, i post when im back
  11. thx, that should work, once again you have saved my life /edit but how do i get it to call _radar1 ()? you think this would work (i just wrote it) Func _radar () While 1 PixelSearch (894,655,989,739,16726065) If @error Then Send ("{q down}") Sleep (2000) Send ("{q up}") EndIf Else ExitLoop WEnd _radar1 () EndFunc
  12. how do you mean? sorry, you lost me i know what you mean for me to do but i dno how to do it
  13. ok, i got another error, more funcs calling themselves. Func _radar () PixelSearch (894,655,989,739,16726065) If Not @error Then _radar1 () EndIf If @error Then Send ("{q down}") Sleep (2000) Send ("{q up}") _radar () EndIf EndFunc \edit you can see that if it can't find the colour it holds q for a bit until it comes into view, so i have no idea how to make this not call itself
  14. sounds good Helge, i'll try it now \edit it works thanks very much for the help all and a Big thanks to Helge
  15. @JdeB it needs to loop until the colour is gone, which is not forever, when the colour is gone it runs a load of other funcs and stuff, the colour going is just the start
×
×
  • Create New...