AzuriteKevin
2013-03-12 23:06:37
P07_ChooseOptionMulti(['Take']);
Why won't it click the Take option, or any other option.
Element17
2013-03-12 23:39:11
Post your script? Maybe you aren't using it right?
Zorgatone
2013-03-12 23:48:41
It is supposed to work correctly, we can't know why it isn't working if you're not posting any piece of code from your script…
AzuriteKevin
2013-03-13 00:06:41
procedure releaseMice(SlotToRelease: Integer);
var
xsx, ysy, R, C: Integer;
begin
xsx := 565;
ysy := 215;
C := (Round(SlotToRelease / 4));
R := (SlotToRelease - (C * 4));
SlotToRelease := SlotToRelease + 1;
Wait(200 + Random(500));
if P07_ItemExists(SlotToRelease) then
begin
P07_MouseBox(xsx + (R * 42) + 10, ysy + (C * 36) + 10, xsx + (R * 42) + 20, ysy + (C * 36) + 20, mouse_right);
P07_ChooseOptionMulti(['Release']);
end;
end;
Where's P07_ChooseOptionMulti(['Take']);
AzuriteKevin
2013-03-13 12:11:32
From: Sjoekeloe
Where's P07_ChooseOptionMulti(['Take']);
its
P07_ChooseOptionMulti(['Release']);
in this code
litoris
2013-03-13 12:54:22
do it like this:
Wait(Randomrange(300,600));
P07_ChooseOptionMulti(['Release', 'elease', 'eleas']);
Waiting after clicking is a good diea (nothing is instant) and putting more options there is needed in case OCR screws up while reading.
AzuriteKevin
2013-03-13 13:55:23
It's still not clicking release :/
litoris
2013-03-13 14:55:01
I messed up with a parenthesis, see this version.
AzuriteKevin
2013-03-13 17:49:02
From: litoris
I messed up with a parenthesis, see this version.
No, i fixed that when I tried it. When I ran the script it still didn't click release.