Automate Smart Desktop UI Scrolling (Smart Scroll) in RunMacro
Desktop ModeRunMacro 3.5+
Smart Scroll is an intelligent desktop scrolling command powered by Windows UI Automation. It scrolls tables, long lists, or brings hidden items into view (ScrollIntoView) without relying on fragile cursor coordinates.
Dialog & quick setup

- In RunMacro, open the Mouse › Smart Scroll command from the left palette.
- Click 🎯 Pick Element — the main window minimizes into a live highlight tracker.
- Hover over the target table, data grid, or list control and left-click (or press
Enter / Space) to pick. - Choose the Direction: Down, Up, or Scroll Into View.
- Set the number of Scroll steps (default 3 steps per run).
- Configure Timeout (ms) for container discovery (default 2000 ms).
- Click Save to insert the command into your workflow.
Options reference
Modes & when to use
Desktop Mode
Interacts directly via Windows UI Automation ScrollPattern and ScrollItemPattern.
Best for
- Navigating long lists with thousands of records in enterprise software (ERP, SAP, accounting software, CRM, WinForms, WPF).
- Bringing obscured action buttons or input fields at the bottom of tall dialogs directly into view for subsequent clicks.
- Continuously scrolling down to trigger infinite scroll data loading in desktop apps prior to table extraction.
- Automating document browsing in PDF viewers, Excel spreadsheets, or large documents using controlled step increments.
Use an alternative when
- Scrolling web browser pages (use Smart HTML or Chrome CDP instead).
- Custom canvas elements lacking accessibility trees (use standard Mouse Wheel).
Before you run
- The target desktop application with scrollable list or table is running.
- The container or target element is picked using the Pick Element tool.
Example workflow
Example: Scroll bank statement table to load full history
- Add a Smart Scroll command to the workflow.
- Pick the transactions DataGrid inside the desktop banking app.
- Choose Down direction and set scroll steps to 5.
- Wrap in a
Loopcommand 10 times with an 800ms delay to allow data buffering.
Expected result: The desktop table or list scrolls in the requested direction by exact notches, or centers the target element in the viewport.
Tips & limitations
For standard UIA Table/List controls, Scroll Into View instantly exposes target rows without trial-and-error scroll step calibration.
Ensure the target window is responsive and not hung (Not Responding) when issuing batch scroll events.
- Legacy MFC apps or games lacking ScrollPattern will fall back to simulated wheel events.
- Paginated tables require clicking next-page buttons instead of scrolling.
Applies to RunMacro 3.5+ · Desktop Mode · Windows 10/11
