![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #3 (permalink) |
| Global Moderator Join Date: Dec 2007
Posts: 2,396
Reputation: 77 ![]() | Timeout? Umm...describe please.
__________________ ![]() "As democracy is perfected, the office of President represents, more and more closely, the inner soul of the people. On some great and glorious day the plain folks of the land will reach their heart's desire at last and the White House will be adorned by a downright moron." H.L. Mencken, The Baltimore Evening Sun, July 26, 1920 |
| | |
| | #4 (permalink) |
| Senior Member Join Date: Dec 2007
Posts: 383
Reputation: 1 ![]() | for example, a page fails to complete the loading and gets a error, the subroutine will hit 'back' and try to load the page again. I need the timer to activate the subroutine. eg, if 30sec have passed and page still isnt done loading, igo to subroutine. |
| | |
| | #5 (permalink) |
| Senior Member | I am not often here checking posts so if you need more info on this feel free to IM me. ChairRestraint66 on AIM, mlevanduski@hotmail.com on MSN, or mlevanduski@gmail.com on gTalk. Here you go, I am 90% sure this is what you want and it will work, but it is untested. Code: #Persistant ; This is important for using timer scripts
SetTimer, ErrorCheck1, 30000 ;ErrorCheck1 is a label it will jump to every 30 seconds
return ;required after set timer i guess
ErrorCheck1: ; everything from here to the next return runs every 30 seconds
statusBarGetText, Status,, WinTitle ; Status is the variable storing the stauts bar results, Win Title I hope you know but if not IM me.
If Status = Done
{
sleep, 100
}
Else
{
Send, {F5} ; to refresh the page, you can put in code to go back and try again if you think it is better.
}
return
Good luck bro!
__________________ Last edited by Seatbelt99; 04-26-2008 at 09:43 PM. |
| | |
![]() |
| Tags |
| ahk, make, subroutine, time |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what had been taking all my time... | hobdiddy | Club Live | 84 | 05-13-2008 10:02 AM |
| Woot Off time!!! | ahage16 | Hot Deals | 2 | 05-08-2008 03:56 PM |
| Party Time. | 2+2=OVER9000 | Chit Chat | 6 | 02-29-2008 05:10 PM |