LukeJrs Posted November 8, 2006 Share Posted November 8, 2006 Sorry but i have read help files and over 59 pages on forum even searched for 4hrs the search so unaacurate. Alright My bot is sending keystoke on background for the game while im foreground. So I can surf the web while macroing working on background without messing up the GUI aint that wonderful? Yes It's! But i have a problem base on that is working fine but there also thing i wanted to add on my bot beside attacking monster I use ControlSend command work like a charm but How is possible to PixelGetColor in background? Like same work ControlSend & ControlClick??? I want to PixelGetColor on background while i work on my Foreground? I wish i could get one code make the whole script work as that design program and not interup other GUI. Anyway Any idea how is this done? Thanks for your time Link to comment Share on other sites More sharing options...
LukeJrs Posted November 8, 2006 Author Share Posted November 8, 2006 Anyone want to help me? Link to comment Share on other sites More sharing options...
LukeJrs Posted November 9, 2006 Author Share Posted November 9, 2006 Over 2days no anwser i'll keep bumping this off dont want this become a grave post i need help Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 9, 2006 Moderators Share Posted November 9, 2006 No need to bump anymore, it's not going to happen. You can't get pixel colors of a minimized or non focused window (if it's covered). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Golbez Posted November 9, 2006 Share Posted November 9, 2006 its also nice when u post code showing that uve tried 2 do it Link to comment Share on other sites More sharing options...
LukeJrs Posted November 9, 2006 Author Share Posted November 9, 2006 HotKeySet("{F5}","Nazaro") Hotkeyset("{F7}","stop") Hotkeyset("{F6}","Pause") Global $Paused Global $Wait if Not WinExists("Nazaro") then MsgBox(64, "NazaroBot", "You must be running Nazaro first") Exit EndIf MsgBox(64, "NazaroBot", "To Start the Bot Press the F5 Key, and to stop press the F7 Key, and to pause Press the F6 key") Wait() Func Nazaro() While 1 ControlSend("Nomad of Silver Spirit - Nazaro", "", "", "{Esc}") $i = 0 While $i <= 21 Sleep(500) ControlSend("Nomad of Silver Spirit - Nazaro", "", "", "{Space}") ControlSend("Nomad of Silver Spirit - Nazaro", "", "", "{Space}") ControlSend("Nomad of Silver Spirit - Nazaro", "", "", "w") $i = $i + 1 WEnd WEnd EndFunc Func Pause() $Paused = NOT $Paused While $Paused Sleep (400) WEnd EndFunc Func Wait() $Wait = NOT $Wait While $Wait Sleep (400) WEnd EndFunc Func stop() MsgBox(64, "NazaroBot", "Thanks for using NazaroBot, Made By LukeJrs.") Exit EndFunc That my code but since he anwser it that so sad a program cant get pixel of a coor on controlsend base :\ would be nice though Link to comment Share on other sites More sharing options...
Valik Posted November 10, 2006 Share Posted November 10, 2006 You know what else would be nice? If I could read page 32 of a book when I'm looking at page 8. Once the logic of that sinks in, you'll realize just how stupid the request is. Link to comment Share on other sites More sharing options...
LukeJrs Posted November 10, 2006 Author Share Posted November 10, 2006 (edited) Lmao is okie beside this code could help other >.> i just wished there was a controlPixelGetColor >< command would be sweeet Edited November 10, 2006 by LukeJrs Link to comment Share on other sites More sharing options...
Valik Posted November 10, 2006 Share Posted November 10, 2006 I see the logic of why you can't read page 32 while looking at page 8 is lost on you. Link to comment Share on other sites More sharing options...
LukeJrs Posted November 11, 2006 Author Share Posted November 11, 2006 >.> which page 32 your talking about as what your saying your logic sound like he just wanted save his time for his script etc I dont really care much i'm here to get assist if possible for the software if not then i'll take a hike meant while can you elaborate that page 32 while looking page 8 meant and what way is it suppost to help me in my project? Link to comment Share on other sites More sharing options...
AzKay Posted November 11, 2006 Share Posted November 11, 2006 >.> which page 32 your talking about as what your saying your logic sound like he just wanted save his time for his script etc I dont really care much i'm here to get assist if possible for the software if not then i'll take a hike meant while can you elaborate that page 32 while looking page 8 meant and what way is it suppost to help me in my project?He means, If your reading a book, Your reading page 8, How can you possibly read page 32? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 11, 2006 Moderators Share Posted November 11, 2006 He means, If your reading a book, Your reading page 8, How can you possibly read page 32? Ohhhhhhhhh .... I thought he wanted us to make a _PageSetTrans() Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
/dev/null Posted November 11, 2006 Share Posted November 11, 2006 (edited) He means, If your reading a book, Your reading page 8, How can you possibly read page 32?simple. First go to page 32. Make a copy, then go back to page 8. Now you have time read on page 32 in the background. Do this fast enough, and it "looks" like you can read page 8 and page 32 in parallel Alternatively, you can buy one of those x-ray spy glasses.... They do work, REALLY!!CheersKurt Edited November 11, 2006 by /dev/null __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Kickassjoe Posted November 11, 2006 Share Posted November 11, 2006 Valik, you may not be able to read page 32 while you are on page 8, but some of us can! J/K That was a nice "metaphor-like saying" (I don't know what the hell else I could call it) Valik, I wish someone had said that to me when I was trying to do this. What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
Valik Posted November 11, 2006 Share Posted November 11, 2006 I think the world is building better idiots because even the most simple, idiot-proof things are starting to fail. Kickassjoe, credit goes to Larry for that metaphor, not me. I stole it from him. Link to comment Share on other sites More sharing options...
Kickassjoe Posted November 11, 2006 Share Posted November 11, 2006 I think the world is building better idiots because even the most simple, idiot-proof things are starting to fail.Kickassjoe, credit goes to Larry for that metaphor, not me. I stole it from him.Yes, I didn't think that anyone could take something so simple and... not understand it. I thought it was pretty idiot-proof too, yet... The stupidity of some people never fails to amaze me.Yay GO LARRY! What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
LukeJrs Posted November 11, 2006 Author Share Posted November 11, 2006 Your Offtopic if you cant help me that fne then pretty much your program not what i'm looking for thanks for nothing but flaming, I'll just uninstall it and go for something else or make my on VB or Delphi program to use macro send command on background see if i can lock on the pixel too i'll keep reading my book and going to college later all.. Link to comment Share on other sites More sharing options...
Kickassjoe Posted November 11, 2006 Share Posted November 11, 2006 "nothing but flaming" right after they made the point that you couldn't do what you were asking for... and you continued to not see the logic in what you were asking for, after it was explained to you many times, I doubt you see the logic in it even now. It is not mine, or anyone else's fault, that you may be a little slow in the head. You have contributed SO much to AutoIt, PLEASE DON'T LEAVE! What goes around comes around... Payback's a bitch. Link to comment Share on other sites More sharing options...
AzKay Posted November 11, 2006 Share Posted November 11, 2006 Your Offtopic if you cant help me that fne then pretty much your program not what i'm looking for thanks for nothing but flaming, I'll just uninstall it and go for something else or make my on VB or Delphi program to use macro send command on background see if i can lock on the pixel too i'll keep reading my book and going to college later all..No matter what you do, you wont get it finding a background pixel, If you do C, C++, VB, Delphi, The result will still be the same. Just like, no matter how many books you read, you wont be able to read page 32 if your on page 8. # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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