Help - Search - Members - Calendar
Full Version: errors in the code please help me
AC Tools Everything Macro > AC Tool Macros > Macro Development
ashman

I apologize for the syntax but I did what I understood by reading the various forums in the operation of actool then background processes are just the language but no

thanks for the help

Constants
a = Numeri \\to create variables of type numeric
b = Numeri
c = Numeri
end
$a = 1
$b = 1
$c = 1
dim $bbb[10] = [0,1,2,3,4,5,6,7,8,9] \\ to create numeric arrays
SetActiveWindow
delay 500
loop 4//iciamo 4
mousepos 700, 600
Leftclick
delay 500
keys $bbb[$a],$bbb[$b],$bbb[$c]
MousePos 700, 680
Leftclick
delay 500
$a = $a + 1
If $a = 11
$a = 1
$b = $b + 1
End
MousePos 20, 65
Leftclick
delay 500
end
Bear
No such command as DIM. EDIT: Resigned.

CODE

Constants
A = 1
B = 1
C = 1
End
//SetActiveWindow
delay 500
While 1 = 1
Call LeftMouse 700, 600
keys $a,$b,$c
//timestamp $A , $B , $C
Call LeftMouse 700, 680
If $A <= 10
Inc A
Else
IF $B <= 10
Inc B
Set A,1
Else
IF $C <= 10
Inc C
Set B,1
Else
Timestamp {LoopNo}
STOP
End
End
End

If {LoopNo} >= 1232 // TimeStamp: 1231
STOP
end

Call LeftMouse 20, 65
End

Procedure LeftMouse using X, Y
MousePos $X, $Y
LeftClick
Delay 500
End
DaMOB
I would use a dataset to take the place of that dim. Read up on the datasets as they are damn fast and damn powerful.

Good luck.
ashman
through the language is new for me and I wrote a lot of cabbage


I create a Arrey addition to other variables will have to do so?

Constants
A = 1
B = 1
C = 1
BBB[10] = [0,1,2,3,4,5,6,7,8,9] //numeric
AAA[26] = [A,B,C,D,E,F,G,H,I,L,M,N,O,P,Q,R,S,T,U,V,Z,X,W,K,Y,J] //string
End
Ipa
Problem is use of the wrong vegetable:

CODE
Include broccoli.inc


Bear
QUOTE(Ipa @ Oct 5 2009, 02:04 PM) *
Problem is use of the wrong vegetable:

CODE
Include broccoli.inc

LMAO you crack me up Ipa!! laugh.gif
ashman
QUOTE(Ipa @ Oct 5 2009, 03:04 PM) *
Problem is use of the wrong vegetable:

CODE
Include broccoli.inc



I'm sorry I did not understand


(P.S. I is not English)
Bear
QUOTE(ashman @ Oct 9 2009, 09:19 AM) *
QUOTE(Ipa @ Oct 5 2009, 03:04 PM) *
Problem is use of the wrong vegetable:

CODE
Include broccoli.inc



I'm sorry I did not understand

QUOTE(ashman @ Oct 5 2009, 07:26 AM) *
through the language is new for me and I wrote a lot of cabbage



You started it by making a Vegetable Reference of Cabbage....
American Humor laugh.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.