Help - Search - Members - Calendar
Full Version: LoadRGB help
AC Tools Everything Macro > AC Tool Macros > Other Macros
Nor Dude
Hi, I have been using ACTool a couple of years now for a game called Toadwater, but all I have used so far is really simple like keys, loop & delay. I found out that I can use it to help me gathering crops so here I am. I have tried searching but I didnt find anything that could put me in the right directions. I know what the macro shall do, but not how to set it up. If anyone could give me a hand that would be lovely, thanks.
Bear
Give you a hand or write the whole thing for you? Since you didn't supply any starting code one would assume your looking for the latter.
Ahk
Go to the Help Menu->AcTool Help->ACTool Commands.

You will find code samples and details on what they do. There are a couple of commands not listed in there, but it is the most complete and helpful information you're going to find anywhere.
Nor Dude
QUOTE(Bear @ Nov 8 2009, 09:26 AM) *
Give you a hand or write the whole thing for you? Since you didn't supply any starting code one would assume your looking for the latter.


I wouldnt know where to start, that is why I didnt supply any code, all I need is some help starting smile.gif


QUOTE(Ahk @ Nov 8 2009, 10:58 AM) *
Go to the Help Menu->AcTool Help->ACTool Commands.

You will find code samples and details on what they do. There are a couple of commands not listed in there, but it is the most complete and helpful information you're going to find anywhere.


Thank you. How do I find the X & Y positions? I need the macro to search a 10X10 grid of possible outcome of the crop, where there can be up to 5 (for this crop) different things to click on, clicking on one of them will pick all of that sort inside that crop view.

Edit: I found out about the quick mouse position tool, and been playing around with that. I manage to locate all 100 squares and click them, but when I try doing the same when I am clicking my avatar in the game to open the crop view, it is clicking somewhere else, I have no idea why, I havent moved the window around or anything. Is there a way to record the mouseposition while the macroing is running?
Also, this way takes alot more time because it is clicking every 100 squares and I need to look at it all the time because if it picks everything before it has clicked those 100 times the crop view will close and the clicks will still be going and might screw it up big time, so I might as well do it myself smile.gif

Edit 2: Is there a better tool for locating mouse positions? Also, when I searched the forums for any help I came across someone saying there is a program that can find out what color is under your mouse pointer, but I dont remember who/which topic it was, and google isnt very helpful.

Edit 3: I have managed to get my head around this now, and instead of searching the possible outcome of the crop, I decided to search the header of the crop view window, if that closes my if statement get fired up. I used both paint and photshop to help me with figuring out the RGB color codes and x, y positions. I still have the problem when I try to click myself to open the crop view window, it will click somewhere else, I am watching the pointer going where it's supposed to go, but the leftclick function is clicking somewhere else, I try using keys {num 5} it dosnt work aswell for some reason. ( you can use the keyboard to simulate mouseclicks 8 directions around you one square, and the numpad 5 will simulate a mouseclick on your avatar.) Any help would be appreciated, and I will post my code when I am finished inserting some couple houndred lines of code smile.gif

Here is the code, aprox 1650 lines of it blink.gif most of it are the same except the mouse positions. Still cant click on myself after recording the exact position of my avatar so I cant test it.

CODE

// This line is necessary to select the proper window
delay 1500
SetActiveWindow TWC (Starsmile)
delay 500





// Check for Red Health
LoadRGB 28, 474
if {RGBRed} = 192 and {RGBGreen} = 0 and {RGBBlue} = 0
loop 3
bell hand
delay 1500
end
keys 3
loop 3
keys e
delay 5 sec
end
end

// Check for high Poop

LoadRGB 153, 497
if {RGBRed} = 128 and {RGBGreen} = 74 and {RGBBlue} = 82
loop 10
bell hand
delay 2000
end
stop
end

// Walking and left click my Avatar to open Crop View
keys {down}
delay 500
MousePos 617, 421
delay 500
leftclick
delay 500

// Start of the crop gathering
MousePos 293, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 348, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 402, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 464, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 506, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 573, 148
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 620, 148
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 681, 148
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 729, 147
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 785, 144
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 794, 200
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 735, 203
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 679, 194
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 622, 203
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 572, 201
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 515, 199
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 460, 198
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 408, 203
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 347, 203
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 305, 203
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 295, 257
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 358, 256
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 402, 256
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 468, 255
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 521, 255
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 572, 254
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 633, 253
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 679, 253
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 731, 253
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 786, 253
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 796, 315
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 749, 312
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 690, 312
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 632, 312
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 578, 312
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 517, 309
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 465, 309
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 410, 309
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 353, 307
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 295, 308
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 303, 365
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 357, 367
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 401, 367
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 469, 367
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 526, 366
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 569, 366
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 623, 366
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 674, 364
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 726, 371
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 783, 364
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 790, 419
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 740, 419
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 674, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 628, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 573, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 517, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 466, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 413, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 361, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 298, 422
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 285, 476
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 335, 475
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 399, 475
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 458, 475
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 514, 473
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 573, 472
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 622, 471
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 694, 480
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 733, 478
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 784, 471
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 790, 529
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 729, 533
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 687, 533
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 618, 533
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 570, 533
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 512, 531
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 462, 531
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 408, 531
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 347, 529
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 303, 529
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 298, 586
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 357, 585
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 403, 582
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 467, 582
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 509, 582
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 566, 580
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 616, 580
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 679, 580
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 736, 578
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 792, 578
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 796, 632
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 739, 637
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 663, 637
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 630, 635
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 577, 635
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 521, 635
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 468, 634
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 420, 634
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 363, 634
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end

MousePos 293, 636
delay 500
leftclick
delay 700
// Check if Crop View closes
LoadRGB 554, 102
if {RGBRed} > 0 or {RGBGreen} < 85 or {RGBGreen} > 85 or {RGBBlue} < 234 or {RGBBlue} > 234
restart
delay 1 sec
end
// Check Queue red bar
LoadRGB 152, 508
if {RGBRed} = 255 and {RGBGreen} = 0 and {RGBBlue} = 0
delay 5 sec
end


//End of the main macro function

Nor Dude
This is really starting to bug me, leftclick dont want to click where the mouse cursor is when the cursor is over the main game window/game world. I have tested with a loop and small delays and moving my cursor all over, but it just wont click where it is. When I am hovering my mouse cursor over the buttons in the client it will click the right position. Also, I have added delays after mousepos x, y, and I have tested the coords themselfs on my desktop, all works everytime, it just wont work inside the game world of TW :/ Anyone know why it would act in this manner? I have provided a screenshot of the game client so you can understand what I mean, I'm a horrible explainer tongue.gif

I have managed to test everything else in my macro, it all works except this one leftclick.
Bear
QUOTE(Nor Dude @ Nov 11 2009, 03:17 PM) *
I have managed to test everything else in my macro, it all works except this one leftclick.


No Clue, have ya tried DoubleClick - it's like doing 2 leftclick's real fast..
Nor Dude
QUOTE(Bear @ Nov 12 2009, 06:51 AM) *
QUOTE(Nor Dude @ Nov 11 2009, 03:17 PM) *
I have managed to test everything else in my macro, it all works except this one leftclick.


No Clue, have ya tried DoubleClick - it's like doing 2 leftclick's real fast..


I've managed to simulate a numpad 5 keystroke with AHK (Autohotkey) and called execprogram where I needed it. I also talked to a few others that plays toadwater and uses actool, they seems to have the same problem as me, so it isnt actool's fault at least (to my knowledge) smile.gif and yeah, I've tried doubleclick, didnt work, because I believe it do click, just not the coords given smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.