cancel
Showing results for 
Search instead for 
Did you mean: 

scroll

How to create scrolling down in the application only works (UI automation mode) but it does not define the program scrollbar ("{PGDW}") does not work

------------------------------
Максим Уманец
------------------------------
1 REPLY 1

JohnCowell
Staff
Staff
Hi, if the scrollbar can't be spied by Win32, UIA or AA mode (assuming this is not a Java application) then I would have suggested you try either Global Send Keys or Global Send Key Events. It sounds like you may have already tried this. If you are using Global Send Keys the code to use for pagedown is {PGDN}. For Global Send Key Events the code is {PageDown}. As long as your target application is foregrounded (i.e. has Windows focus) then sending the Global Send Key Event should work and behave exactly as it would if you have manually pressed the 'PageDown' key yourself.

You other option is to spy using Region Mode and use Surface Automation techniques to interact with the application.

------------------------------
John Cowell
Senior Software Support Analyst
Blue Prism
------------------------------
John Cowell Senior Software Support Analyst Blue Prism