Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Auto refresh web page

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 586

PostPosted: Sat Jan 30, 2016 11:11 am    Post subject: Auto refresh web page Reply with quote

I surfed the web for some code to auto refresh a web page and found this bit of code that I have edited for my needs.
Code:
On Error Resume Next
Set IE = CreateObject("InternetExplorer.Application")
With IE
  .Navigate "https://WebPageAddress"
  .Visible = True
End With
counter = 1
Do Until counter>= 181
  WScript.Sleep 180000 '3 min
  IE.Refresh()
  counter = counter + 1
Loop

This was designed to work for 9 hours, but ends after 6 hours. What I would like to do is to end the loop at 1500(my Time), but I don't know the syntax to access and/or use the pc time.
Any suggestions from anyone?
Back to top
View user's profile Send private message Yahoo Messenger
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jan 30, 2016 11:49 am    Post subject: Reply with quote

Code:
Hour(Now) >= 15
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 30, 2016 12:04 pm    Post subject: Reply with quote

What is this for?
Back to top
View user's profile Send private message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 586

PostPosted: Sat Jan 30, 2016 12:46 pm    Post subject: Reply with quote

To refresh a web page automatically without pressing the F5 key continently.

Zanzer, trying that currently, thanks.
Back to top
View user's profile Send private message Yahoo Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 30, 2016 12:55 pm    Post subject: Reply with quote

bknight2602 wrote:
++METHOS wrote:
What is this for?
To refresh a web page automatically without pressing the F5 key continently.
-Obviously. Rolling Eyes
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jan 30, 2016 1:23 pm    Post subject: Reply with quote

Sounds like some DOS attack. Smile
Back to top
View user's profile Send private message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 586

PostPosted: Sat Jan 30, 2016 2:03 pm    Post subject: Reply with quote

++METHOS wrote:
bknight2602 wrote:
++METHOS wrote:
What is this for?
To refresh a web page automatically without pressing the F5 key continently.
-Obviously. Rolling Eyes


If you knew the answer why ask? Rolling Eyes

Zanzer wrote:
Sounds like some DOS attack. Smile

As I answered earlier, nothing mysterious or ominous. Smile
Back to top
View user's profile Send private message Yahoo Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Jan 30, 2016 2:47 pm    Post subject: Reply with quote

Most modern browsers have plugins for things like this vs. having to code your own thing. It would be built into the browser requiring no extra tools running.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 586

PostPosted: Sat Jan 30, 2016 3:40 pm    Post subject: Reply with quote

atom0s wrote:
Most modern browsers have plugins for things like this vs. having to code your own thing. It would be built into the browser requiring no extra tools running.

Using IE, what must be adjusted to do this?
Back to top
View user's profile Send private message Yahoo Messenger
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jan 30, 2016 3:53 pm    Post subject: Reply with quote

https://www.google.com/?gws_rd=ssl#q=ie+plugin+refresh+page Smile
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 30, 2016 4:24 pm    Post subject: Reply with quote

bknight2602 wrote:
If you knew the answer why ask? Rolling Eyes
-Really fantastic. Anyway, I'm quite certain that it's for something really stupid at this point.

Zanzer wrote:
Sounds like some DOS attack. Smile
-LOL. Very Happy
Back to top
View user's profile Send private message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 586

PostPosted: Sat Jan 30, 2016 4:45 pm    Post subject: Reply with quote

++METHOS wrote:
bknight2602 wrote:
If you knew the answer why ask? Rolling Eyes
-Really fantastic. Anyway, I'm quite certain that it's for something really stupid at this point.

Your analytic thoughts are incorrect, very important to me, perhaps not you.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites