Archive: Refresh web browser page ( like F5 )


Refresh web browser page ( like F5 )
  Hi all,

After a week of search, I can't find my answer...
I want to refresh all or current page in a web browser.

I try with sendmessage, postmessage... nothing work...

    
Push $0
FindWindow $0 "IEFrame"
DetailPrint "found IE window"
SendMessage $0 273 6041 0
System::Call 'user32::SendMessage(i,i,i,i) i($0, 273,6041,0)'
System::Call 'user32::PostMessageA(i,i,i,i) i($0,273,6041,0)'
Pop $0


273 is the WM_COMMAND
6041 is what spy++ log when I manually click on the refresh button under ie7 vista.

http://www.eggheadcafe.com/forumarch...st23415399.asp
This page is the only I've found on this subject...

If someone can help me :up:

Many thanks

Is this really a function of an installer?

Perhaps you should use AutoHotKey for that?

http://www.autohotkey.com/

HTH :)


Because it install a web browser plugin, yes :-)

Thanks for your link, I will take a look.


Really amazing !

Many thanks !!

For those interested

IfWinExist ahk_class MozillaUIWindowClass,     

WinActivate Send,
{
CTRLDOWN}r{CTRLUP}
in a script, then converted in .exe, executed just after the installation. It do the work.