Method RecordingUtil.MouseToString
Overload
Converts multiple recorded mouse movements to string for mouse.moveBy.
public static string MouseToString(IEnumerable<uint> recorded, bool withSleepTimes)
Parameters
recorded (IEnumerable<uint>)
List of x y distances from previous. The first distance is from mouse position before the first movement; at run time it will be distance from mouse.lastXY. To create uint value from distance dxdy use Math2.MakeLparam and cast to uint. |
withSleepTimes (bool)
recorded also contains sleep times (milliseconds) alternating with distances.
It must start with a sleep time. Example: |