autoit hilfe bitte

07/26/2009 21:39 Klein611#1
Hi ich möchte mir einen lager ausräum bot machen.
Und das sollte einfacher gehn. Die y coords sind+32 und die
und ich steh grad auf der leitung.
geht das auch mit variablen dass er von
1#+(32*0)
2#+(32*1)
3#+(32*2)
4#+(32*3)
......

;1#
MouseClickDrag("left", 127, 100, 650, 290)
MouseClickDrag("left", 159, 100, 682, 290)
MouseClickDrag("left", 191, 100, 714, 290)
MouseClickDrag("left", 223, 100, 746, 290)
MouseClickDrag("left", 255, 100, 778, 290)
;2#
MouseClickDrag("left", 127, 132, 650, 322)
MouseClickDrag("left", 159, 132, 682, 322)
MouseClickDrag("left", 191, 132, 714, 322)
MouseClickDrag("left", 223, 132, 746, 322)
MouseClickDrag("left", 255, 132, 778, 322)
;3#.....
vill hab ich mir ja selbst schon die antwort gegebn. Wie gesagt ich steh grad total auf der leitung und beschäftige mich auch noch net lange mit autoit.
PS:wie kann ich eine ober fläche mit Start button machen.
07/26/2009 21:53 TheVay#2
mousemove fehlt noch
07/26/2009 22:15 Klein611#3
Es funktioniert trotzdem auch ohne mausemove
07/27/2009 07:08 heroe1992#4
warum machst du nicht einfach nen normalen mouseclick ?

PHP Code:
$zahl$zahl 32
$zahl2
$zahl2 32
;1#
MouseClickDrag("left"127$zahl650$zahl2)
MouseClickDrag("left"159$zahl682$zahl2)
MouseClickDrag("left"191$zahl714$zahl2)
MouseClickDrag("left"223$zahl746$zahl2)
MouseClickDrag("left"255$zahl778$zahl2)
$zahl$zahl 32
$zahl2
$zahl2 32
;2#
MouseClickDrag("left"127$zahl650$zahl2)
MouseClickDrag("left"159$zahl682$zahl2)
MouseClickDrag("left"191$zahl714$zahl2)
MouseClickDrag("left"223$zahl746$zahl2)
MouseClickDrag("left"255$zahl778$zahl2
so ungefähr müsste des gehen wenn ich des richtig verstanden habe ^^

oder so geht des auch
do
PHP Code:
$zahl$zahl 32
$zahl2
$zahl2 32
do
MouseClickDrag("left"127$zahl650$zahl2)
MouseClickDrag("left"159$zahl682$zahl2)
MouseClickDrag("left"191$zahl714$zahl2)
MouseClickDrag("left"223$zahl746$zahl2)
MouseClickDrag("left"255$zahl778$zahl2)
until $zahl=......<<hir halt dir letzte Zahl