NELyon Posted June 26, 2006 Share Posted June 26, 2006 (edited) I have a program that refreshes a page every four second... it works perfectly but i was wondering if i could make it refresh without having it be active. i am NOT using IE, nor firefox. I am using america online 8.0 plus... EDIT::: it refreshes with a send("{f5}") AUTOIT TAGS BACK! Edited June 26, 2006 by codemyster Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 Ok, i got this but it just doesen't work While 1 ControlSend("America online","Gaia","","{f5}") Wend Link to comment Share on other sites More sharing options...
MHz Posted June 26, 2006 Share Posted June 26, 2006 Every 4 seconds, ****? going to miss something vital in that short period of time? Look at ControlSend and TitleMatchMode Option 4 with classname usage. Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 (edited) i'm running it on a page with little info on it so four seconds is all i need While 1 ControlSend ( "America Online", "Gaia", , "{f5}" ) Wend won't work Edited June 26, 2006 by codemyster Link to comment Share on other sites More sharing options...
MHz Posted June 26, 2006 Share Posted June 26, 2006 (edited) i'm running it on a page with little info on it so four seconds is all i needI only mention that not in your sake, but for the website, that has to cope with the drain of continually sending the data to your browser. Currently about 145 users online now , refreshing every 4 seconds would make a big drain. But, perhaps I'm wrong. I see no sense in such a rapid refresh rate.Edit:Consider classname as I mentioned. Your browser would not see the title etc as you show? Others do not... Edited June 26, 2006 by MHz Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 i saw over 30,000 users last night at 1 AM so 145 is nothing Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 edit: this works for my IE...$WindowHandleYouAreResponsibleToGet = WinGetHandle("Do a send function on a non-active") ControlSend($WindowHandleYouAreResponsibleToGet,"","","{f5}") Lar. Hm... that still only works if the window is active Link to comment Share on other sites More sharing options...
AzKay Posted June 26, 2006 Share Posted June 26, 2006 Opt("WinTitleMatchMode", 2) While 1 ControlSend("Gaia ::", "", 1, "{F5}", 0) Sleep(4000) WEnd # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 nope, nothing Link to comment Share on other sites More sharing options...
AzKay Posted June 26, 2006 Share Posted June 26, 2006 nope, nothingDo you have msn? then I can help you better xD, and ill have a autoit buddy, rofl # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
NELyon Posted June 26, 2006 Author Share Posted June 26, 2006 I am using AOL 8.0 plus. I tried midifying the code so the title was america online, and the text was gaia, but it didn't work... which i don't know why because it worked in my normal send function Link to comment Share on other sites More sharing options...
Ármányos Kő Posted November 27, 2006 Share Posted November 27, 2006 Just guessing> Activate your AOL window, but place it to -20000,-20000 which is out of monitor area. When 4 sec. comes remember which window was active, change to AOL, do what you want, and change back to the remembered window. This should not take longer then 0.001 sec so you will sense nothing with normal work. Maybe you can do blockinput when starting for safety. Link to comment Share on other sites More sharing options...
AzKay Posted November 27, 2006 Share Posted November 27, 2006 You do realize this is from june? =P # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Ármányos Kő Posted November 27, 2006 Share Posted November 27, 2006 Yes, I myself carry problems months old. Also, you never know when someone else will need to read this in the future. Anyway, it took 1 min. to write down. Also, I like my name written in forums (not true) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now