Help with scroll code in imacros

Diesel600

Registered Member
Joined
Mar 22, 2014
Messages
97
Reaction score
9
Hi guys I'm having a problem, the scroll code I have works fine but doesn't work when the browser is minimized. Can anyone help me fix this? the code is:
EVENTS TYPE=KEYPRESS XPATH="/html/body/div[2]/div/div[2]/div/div[2]/ul/li[50]/div/div[2]/span/button" KEYS="[34]"
I would really appreciate it!
 
You could use this to scroll down:
Code:
URL GOTO=javascript:window.scrollBy(0,20000);
It should work without focus.
 
Back
Top