<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>it's simple, the script only needs a preference to store the last range visited, so the script whould do something like this:

1: search for the dropbox (xpath is probably better)
2: save in the &quot;preference value&quot; the index of the selected element in the dropbox
3: use the respective DOM propertie to change the selection (&quot;preference value&quot;+1)

now it should move to the next range automatically

now you only new a check for the last element or first, depending on what you want to do when the script reaches the last page</body>
  <body-html>&lt;p&gt;it's simple, the script only needs a preference to store the last range visited, so the script whould do something like this:&lt;/p&gt;

&lt;p&gt;1: search for the dropbox (xpath is probably better)
&lt;br /&gt;2: save in the &quot;preference value&quot; the index of the selected element in the dropbox
&lt;br /&gt;3: use the respective DOM propertie to change the selection (&quot;preference value&quot;+1)&lt;/p&gt;

&lt;p&gt;now it should move to the next range automatically&lt;/p&gt;

&lt;p&gt;now you only new a check for the last element or first, depending on what you want to do when the script reaches the last page&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-08-09T12:53:37Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">3584</id>
  <topic-id type="integer">863</topic-id>
  <updated-at type="datetime">2007-08-09T12:53:53Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">24800</user-id>
</post>
