I need to increment a mouse click in a loop
from
MouseClick, left, 213, 343
to
MouseClick, left, 203, 361
the difference in the Y direction is about 18 units
how do I do this
the macro is below
Code:
IfWinNotActive, Pipes: editing 'search for articles' - Mozilla Firefox, , WinActivate, Pipes: editing 'search for articles' - Mozilla Firefox,
WinWaitActive, Pipes: editing 'search for articles' - Mozilla Firefox,
MouseClick, left, 217, 14
Sleep, 100
MouseClick, left, 211, 319
Sleep, 100
Send, {CTRLDOWN}v{CTRLUP}
MouseClick, left, 174, 297
Sleep, 100
MouseClick, left, 213, 343
Sleep, 100
loop, 10
{
WinWait, NoName03.txt - Notepad,
IfWinNotActive, NoName03.txt - Notepad, , WinActivate, NoName03.txt - Notepad,
WinWaitActive, NoName03.txt - Notepad,
MouseClick, left, 218, 7
Sleep, 100
Send, {HOME}{DOWN}{SHIFTDOWN}{END}{SHIFTUP}{CTRLDOWN}c{CTRLUP}
WinWait, Pipes: editing 'search for articles' - Mozilla Firefox,
IfWinNotActive, Pipes: editing 'search for articles' - Mozilla Firefox, , WinActivate, Pipes: editing 'search for articles' - Mozilla Firefox,
WinWaitActive, Pipes: editing 'search for articles' - Mozilla Firefox,
MouseClick, left, 416, 15
Sleep, 100
Send, {CTRLDOWN}v{CTRLUP}
MouseClick, left, 171, 301
Sleep, 100
MouseClick, left, 203, 361
Sleep, 100
}