Old 13th November 2008, 10:23   #1
jbrider
Junior Member
 
Join Date: Nov 2008
Posts: 3
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...

code:

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

Many thanks
jbrider is offline   Reply With Quote
Old 17th November 2008, 14:57   #2
nsnb
Senior Member
 
Join Date: Jul 2008
Posts: 157
Is this really a function of an installer?

Perhaps you should use AutoHotKey for that?

http://www.autohotkey.com/

HTH
nsnb is offline   Reply With Quote
Old 17th November 2008, 18:40   #3
jbrider
Junior Member
 
Join Date: Nov 2008
Posts: 3
Because it install a web browser plugin, yes :-)

Thanks for your link, I will take a look.
jbrider is offline   Reply With Quote
Old 18th November 2008, 12:58   #4
jbrider
Junior Member
 
Join Date: Nov 2008
Posts: 3
Really amazing !

Many thanks !!

For those interested

PHP Code:
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.
jbrider is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump