Jump to content

rockin-john

Members
  • Posts

    4
  • Joined

  • Last visited

rockin-john's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. TY again, I see now, all is running ok now. Close topic. John
  2. Hi, TY, it is now working, although i do not why it could not work the way I tried. John.
  3. Hi, I have now cut & pasted the part of the code, removing the $ sign from the loop, but when checking with syntaxcheck prod (ctrl & F5) it errors until the $ is put back, but the point i was trying to make was the $x and $y varibles are causing the fault, on adding the message box when the count reaches 1 on the Variables they are false or not being assigned, Local $x Local $y For $L = 0 To 3 If $L = 1 Then $x = 915 & $y = 497 MsgBox($MB_SYSTEMMODAL, "", "Count down!" & @CRLF & $L & " " & $x) MouseClick ("Left",$x,$y) Sleep (1000) MouseClick ("Left",813,475) Sleep (1000) Next
  4. HI, I am having trouble getting the variables to work with the mouseclick, its keeps sending the mouse to 0,0 Top left of screen, I am new to autoit and only used basic from the days of the comodores, this seems correct to me. what have i missed out?. Local $x Local $y If loop = 0 Then $x = 500 & $y = 500 Mouseclick("Left", $x, $y) (Rest of program) Next Thanks
×
×
  • Create New...