Page 1 of 1

scrolling with revBrowserSet

Posted: Fri Feb 04, 2011 10:53 pm
by Steve
Hi Everyone,

I am trying to scroll a browser instance both vertically and horizontally with revBrowserSet, e.g.
revBrowserSet myBrowserID, "vscroll" 100 -- or some other number
revBrowserSet myBrowserID, "hscroll" 200 -- or some other number

But each scroll RESETS the other one. That is, in the above example, the hscroll sets the vscroll back to 0. If I reverse the order of those two lines, the vscroll sets the hscroll back to 0. I've tried delaying them with the send command, e.g.,
send scrollBrowserDown in .5 seconds
send scrollBrowserLeft in 1 seconds
But whichever one occurs second always resets the first one to 0.

Is this a bug in the revBrowserSet command? Does anyone know a workaround, so I can scroll both horizontally and vertically?

Thanks

Steve Alessi