scrolling with revBrowserSet

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Steve
Posts: 30
Joined: Fri Nov 07, 2008 10:46 pm
Contact:

scrolling with revBrowserSet

Post by Steve » Fri Feb 04, 2011 10:53 pm

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
Steve Alessi
Associate Professor
The University of Iowa

Post Reply