Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editing recorded mouse movement
#1
Quote:What I'm trying to do at this stage is very simple: Recording a simple task, including keyboard strokes, mouse clicks, mouse movements, and mouse dragging. Then I want to edit the Macro, just changing the times of each action.

The problem is that I get something like this:

mou "A@A@A@B@A@B@B@B@B@B@B@B@C@C@C@B@C@D@D@E@D@F@E@D@F@C@C@C@C@B@C@C@C...

It looks to me completely meaningless – I recognize no coordinates, no time, nothing.

Do you have any advice??

QM compresses multiple mouse movement events to single or several strings that look like A@A@A@B@A@B@B@. Otherwise there would be hundreds of mou commands, what is useless in most cases. If you want to edit wait times inside the string, record the macro in real speed mode (select Real instead of Fast) and edit parts of the string that look like w16 (w followed by digits). These digits are number of milliseconds between mouse movement events.

Example
Code:
Copy      Help
spe 10
;int w1=act(win("Quick Macros - Ok - [Macro669]" "QM_Editor"))
;lef 310 125 w1; 0.44

mes "real time"
mou "@aA@w16AaAaw16A@Baw16BaB@w16AaA@@aA@w16AaAaw16A@Baw16BaB@w16AaA@"
mes "slower 10 times"
mou "@aA@w160AaAaw160A@Baw160BaB@w160AaA@@aA@w160AaAaw160A@Baw160BaB@w160AaA@"
;lef 311 130 w1; 0.35


Forum Jump:


Users browsing this thread: 1 Guest(s)