Asoftech Logo
| Sitemap |      
   line Home line Products line Support line Knowledge line Contact Us line    
     
 

Asoftech > Asoftech Automation

Relative Mouse Movement in Asoftech Automation: A Practical Guide

Asoftech |

Need a Windows macro to move the pointer a fixed distance from its current position? Asoftech Automation supports relative mouse movement alongside recorded mouse and keyboard actions. This guide explains how to measure an offset, insert the movement and test it before adding clicks or repeats.

Asoftech Automation

When is relative movement useful?

Use it when two points stay the same distance apart, even if their location on screen changes. For example, a test routine can start at a known point in a drawing area and move 100 pixels downward. A normal movement specifies a destination; a relative movement specifies a distance from the current pointer position. It does not find a button by its label or recognize an object.

How to add a relative mouse movement

  1. Prepare a harmless test document and establish the pointer’s starting point. Open the macro for editing and expand the mouse input panel. Keep the application layout and display scaling consistent during the first test.
  2. Enter the horizontal distance in CX and the vertical distance in CY. Positive horizontal values move right; negative values move left. Positive vertical values move down; negative values move up. For the downward example, use CX = 0 and CY = 100.
  3. If you do not know the distance, choose Measure relative distance. In the Measure Path dialog, follow the instructions to specify the first and second points. The relative movement is shown; OK fills CX and CY with the measured values.
  4. Choose Insert Action to add the movement to the action list. Check its position in the sequence, then run one supervised test. Confirm the pointer’s landing point before inserting a separate click action.

Prevent cursor drift when repeating the macro

A relative movement starts wherever the pointer is at that step. Repeating a 100-pixel downward move without resetting the start keeps moving farther down; it does not return to the first point. Restore the intended starting point at the start of each cycle and test two cycles on sample data. Avoid moving the mouse yourself during playback.

What if the pointer misses the target?

Check the starting point, the signs of CX and CY, and the order of actions. Remeasure after changes to zoom, display scaling or control spacing. Allow time for the target window to appear. RecWin addresses changes in window position and size, but an offset still needs testing when the spacing inside the application changes.

Can relative movement replace every recorded mouse action?

No. Use a known destination when the routine must reach a fixed point, and relative movement when a measured distance fits the task. Add clicks only after checking the movement. Review Asoftech Automation’s features and the user guide below, then test your own short routine before scheduling or repeating it.

Asoftech Automation user guide

Related automation guides

English | العربية | 繁體中文 | 简体中文 | Русский | 日本語 | Italiano | Français | Español | Deutsch | 한국어 | Português

 
 
| Home | Products | Support | News | Contact Us | Sitemap |


Copyright ©2026 asoftech. All Rights Reserved.


Products

Youtube Downloader

Video Converter Asoftech

Asoftech Photo Recovery

Asofech Data Recovery

Asoftech Automation

AutoHomeMovie

AutoMe

Asofech Speeder

Auto Clicker Asofech

Auto Typer Asofech

Auto Clicker and Typer 2 in 1


Technology

RecWin Technology

Advanced Carving Technology


Tips

Memory Card Recovery

Mobile Phone Data Recovery

Recover Photo from Camera

Recover Files Deleted From Recycle Bin

Format Recovery

USB Data Recovery


More Information

Increase Productivity

Press Room

Privacy Policy