Jump to content

Is it possible to auto refresh a web page ?


Recommended Posts

As my login name states I have not a clue, I just stumbled on this program and forum.

What I am wondering is it possible to auto refresh a web page.

I use a forum and tend to leave it on the same page , I would like it to auto refresh about every 10 seconds so as I get an upto date listing of it.

a t b not a clue ! :)

Link to comment
Share on other sites

We need something like this in the help file appendix...

Borrowed From Windows XP Help file:

General keyboard shortcuts

Shortcut and Effect

CTRL+C Copy.

CTRL+X Cut.

CTRL+V Paste.

CTRL+Z Undo.

DELETE Delete.

SHIFT+DELETE Delete selected item permanently without placing the item in the Recycle Bin.

CTRL while dragging an item Copy selected item.

CTRL+SHIFT while dragging an item Create shortcut to selected item.

F2 Rename selected item.

CTRL+RIGHT ARROW Move the insertion point to the beginning of the next word.

CTRL+LEFT ARROW Move the insertion point to the beginning of the previous word.

CTRL+DOWN ARROW Move the insertion point to the beginning of the next paragraph.

CTRL+UP ARROW Move the insertion point to the beginning of the previous paragraph.

CTRL+SHIFT with any of the arrow keys Highlight a block of text.

SHIFT with any of the arrow keys Select more than one item in a window or on the desktop, or select text within a document.

CTRL+A Select all.

F3 Search for a file or folder.

ALT+ENTER View properties for the selected item.

ALT+F4 Close the active item, or quit the active program.

ALT+Enter Displays the properties of the selected object.

ALT+SPACEBAR Opens the shortcut menu for the active window.

CTRL+F4 Close the active document in programs that allow you to have multiple documents open simultaneously.

ALT+TAB Switch between open items.

ALT+ESC Cycle through items in the order they were opened.

F6 Cycle through screen elements in a window or on the desktop.

F4 Display the Address bar list in My Computer or Windows Explorer.

SHIFT+F10 Display the shortcut menu for the selected item.

ALT+SPACEBAR Display the System menu for the active window.

CTRL+ESC Display the Start menu.

ALT+Underlined letter in a menu name Display the corresponding menu.

Underlined letter in a command name on an open menu Carry out the corresponding command.

F10 Activate the menu bar in the active program.

RIGHT ARROW Open the next menu to the right, or open a submenu.

LEFT ARROW Open the next menu to the left, or close a submenu.

F5 Refresh the active window.

BACKSPACE View the folder one level up in My Computer or Windows Explorer.

ESC Cancel the current task.

SHIFT when you insert a CD into the CD-ROM drive Prevent the CD from automatically playing.

Dialog box keyboard shortcuts

Shortcut Effect

CTRL+TAB Move forward through tabs.

CTRL+SHIFT+TAB Move backward through tabs.

TAB Move forward through options.

SHIFT+TAB Move backward through options.

ALT+Underlined letter Carry out the corresponding command or select the corresponding option.

ENTER Carry out the command for the active option or button.

SPACEBAR Select or clear the check box if the active option is a check box.

Arrow keys Select a button if the active option is a group of option buttons.

F1 Display Help.

F4 Display the items in the active list.

BACKSPACE Open a folder one level up if a folder is selected in the Save As or Open dialog box.

Natural keyboard shortcuts

You can use the following keyboard shortcuts with a Microsoft Natural Keyboard or any other compatible keyboard that includes the Windows logo key () and the Application key ().

Shortcut Effect

Display or hide the Start menu.

+BREAK Display the System Properties dialog box.

+D Show the desktop.

+M Minimize all windows.

+Shift+M Restores minimized windows.

+E Open My Computer.

+F Search for a file or folder.

CTRL+ +F Search for computers.

+F1 Display Windows Help.

+ L Lock your computer if you are connected to a network domain, or switch users if you are not connected to a network domain.

+R Open the Run dialog box.

Display the shortcut menu for the selected item.

+U Open Utility Manager.

Accessibility keyboard shortcuts

Shortcut Effect

Right SHIFT for eight seconds Switch FilterKeys on and off.

Left ALT +left SHIFT +PRINT SCREEN Switch High Contrast on and off.

Left ALT +left SHIFT +NUM LOCK Switch MouseKeys on and off.

SHIFT five times Switch StickyKeys on and off.

NUM LOCK for five seconds Switch ToggleKeys on and off.

+U Open Utility Manager.

Windows Explorer keyboard shortcuts

Shortcut Effect

END Display the bottom of the active window.

HOME Display the top of the active window.

NUM LOCK+ASTERISK on numeric keypad (*) Display all subfolders under the selected folder.

NUM LOCK+PLUS SIGN on numeric keypad (+) Display the contents of the selected folder.

NUM LOCK+MINUS SIGN on numeric keypad (-) Collapse the selected folder.

LEFT ARROW Collapse current selection if it's expanded, or select parent folder.

RIGHT ARROW Display current selection if it's collapsed, or select first subfolder.

Notes

You must associate a password with your user account to secure it from unauthorized access. If you do not have a password associated with your user account, pressing the +L will not prevent other users from accessing your account information.

Some keyboard shortcuts may not work if StickyKeys is turned on in Accessibility Options.

If you are connected to Windows through Microsoft Terminal Services Client, some shortcuts have changed. For more information, see the online documentation for Terminal Services Client.

Related Topics

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

well i'm bored so here's what i'd do

HotKeySet("{F11}", "Terminate") ;Press F11 to stop this program
Func Terminate()
    Exit
EndFunc

Opt("WinTitleMatchMode", 2)
WinActivate("Internet Explorer") ;Assuming you use IE and this is the only IE window you have open
WinWaitActive("Internet Explorer")

While 1
    Send("{F5}")
    Sleep(10000)
WEND

Havent tested that so dunno if it works. Read the comments.

Link to comment
Share on other sites

well i'm bored so here's what i'd do

HotKeySet("{F11}", "Terminate");Press F11 to stop this program
Func Terminate()
    Exit
EndFunc

Opt("WinTitleMatchMode", 2)
WinActivate("Internet Explorer");Assuming you use IE and this is the only IE window you have open
WinWaitActive("Internet Explorer")

While 1
    Send("{F5}")
    Sleep(10000)
WEND

Havent tested that so dunno if it works. Read the comments.

<{POST_SNAPBACK}>

Thanks for the help, really am on a learning curve with this one.

atb not a clue ! :)

Link to comment
Share on other sites

If you use Opera as a browser the auto reload feature is included and activable in the right click menu.

<{POST_SNAPBACK}>

Thanks that is just what I needed, works great for what I want it to do.

I did try to put the script above into practice, well managed it to get me an error box !

Thanks to you all for your pointers on this, will use Opera till I get a better understanding of how to create these properly.

a t b not a clue ! :)

Link to comment
Share on other sites

;start copy

HotKeySet("{F11}", "Terminate");Press F11 to stop this program

Func Terminate()

Exit

EndFunc

Opt("WinTitleMatchMode", 2)

WinActivate("Internet Explorer");Assuming you use IE and this is the only IE window you have open

WinWaitActive("Internet Explorer")

While 1

Send("{F5}")

Sleep(10000)

WEND

;by StrictlyBallin24

;end copy

this script is as simple as it gets just copy the code and save it as REFRESH.AU3

ezzetabi gave up on you and gave you the easy way out! :)

StrictlyBallin24 took the time to write and comment some code (teach you to fish)

what kind of error are you getting?

p.s. ezzetabi I know you would write dozens of lines of code if needed be

but I just need to know what can go wrong with this simple script

Link to comment
Share on other sites

I see no way for an AutoIt error, maybe he changed window and sent a F5 to the wrong program since there are no checks after the first.

So maybe it is better...

HotKeySet("{F11}", "_Terminate");Press F11 to stop this program

Opt("WinTitleMatchMode", 2)
$ie = WinGetHandle("Internet Explorer");Assuming you use IE and this is the only IE window you have open
If @error Then Exit

WinActivate($ie)
WinWaitActive($ie)

While 1
   Send("{F5}")
   Sleep(10000)
   
   While Not WinActive($ie)
      Sleep(100)
      If Not WinExists($ie) Then Exit
   WEnd
WEND

Func _Terminate()
   Exit
EndFunc
Edited by ezzetabi
Link to comment
Share on other sites

The only reason i can think it went wrong is thet I got involved in something I know nothing of. Dont know my ar*e end from my elbow on this stuff. Took a copy of script, opened up one of the samples , deleted all contents and pasted script, changed title and saved, all this was in notepad. tThen I tried to get it into AutoIt. When you have all stopped laughing and wiped the tears from yer face, any ideas and a very basic guide very much needed.

a t b not a clue :)

Link to comment
Share on other sites

I think it is not a smart idea calling ourselves not a clue !, noob or similar silly names. When you'll be an Autoit master you'll will be still "not a clue !" :)

"not a clue !" post...

;Ten pages script...

may sound strange, doesn't it?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...