Here is my script. Most of the editing is done in my default text editor and I 
use PPro to to the manual transfer of the work. This works perfectly (mostly 
;-) except that if it encounters a dead page it comes to a stop. So my request 
is what can I do about getting it to go back to the top so the counter can send 
it onto the next page?


Local myCounter
For (myCounter = 1101; myCounter <= 1200; myCounter = myCounter + 1)
sURL = (myCounter)
DO("firefox", "http://www.mywebsite.com/edit.php?id="++ myCounter)
wait.for(8000)
*keys ^fDescription{esc}{tab 12}^a^x
Do("C:\\Powerpro\\Notes\\mywebsite.txt")
Wait.For(activewindow("*mywebsite*"))
Win.Keys("^v{f4}")
Wait.for(4000)
win.keys("^a^x^s%{f4}")
Wait.For(activewindow("*I Love Classics :: Edit torrent*"))
Wait.for(4000)
win.keys("^v^{ho}")
win.keys("^f[b]Plot:[/b] {esc}{ar 13}{en}{en}")
win.keys("^f[b]More:[/b] {esc}{ar 13}{en}{en}")
win.keys("^f[b]Story:[/b] {esc}{ar 14}{en}{en}")
win.keys("^f[b]Cast:[/b] {esc}{ar 13}{en}")
win.keys("^fTorrent name{esc}{ta}^f( {esc}{ar}{del}^fTorrent name{esc}{ta}^f 
){esc}{del}^fTorrent name{esc}{ta}^f({esc}{sp}")
win.keys("^fTorrent name{esc}{ta}^f{sp}{sp}{esc}{del}^fTorrent 
name{esc}{ta}^f{sp}{sp}{esc}{del}^fTorrent name{esc}{ta}^f{sp}{sp}{esc}{del}")
win.keys("^fTorrent name{esc}{tab}^fUnRip{esc}{del 5}URip")
win.keys("^fTorrent name{esc}{tab}^fUNKNWNrip{esc}{del 9}URip")
win.keys("^fTorrent name{esc}{tab}^fUnkownRip{esc}{del 9}URip")
win.keys("^fTorrent name{esc}{tab}^fUknrip{esc}{del 6}URip")
win.keys("^fTorrent name{esc}{tab}^funkn.rip{esc}{del 8}URip")
win.keys("^fTorrent name{esc}{tab}^fdvd rip{esc}{del 7}DVDRip")
win.keys("^fSticky{esc}{tab 2}{en}")
wait.for 6000
win.keys("^w")
Wait.for(2000)
EndFor

Reply via email to