Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Refresh firefox Popup Window
#1
I need to refresh a popup window in Firefox.

the popup window does not have a visible refresh button. i can right click and refresh tho.


web "refresh" does not work
#2
Macro Macro2566
Code:
Copy      Help
int w=win("PopupTest Thursday April, 16 2015 - Mozilla Firefox" "MozillaWindowClass")
act w
key F5
#3
thanks, but is there no other way to do it where is would not activate the window or use the mouse?
#4
Macro Macro2569
Code:
Copy      Help
int w=win("PopupTest Thursday April, 16 2015 - Mozilla Firefox" "MozillaWindowClass")
PostMessage w WM_KEYDOWN VK_F5 0
#5
perfect.

thought it would be the same concept on chrome but it dont work. what could i do on chrome?
#6
Macro Macro2570
Code:
Copy      Help
int w=win("PopupTest Friday April, 17 2015 - Google Chrome" "Chrome_WidgetWin_1")
PostMessage w WM_ACTIVATE WA_ACTIVE 0
PostMessage w WM_KEYDOWN VK_F5 0
PostMessage w WM_ACTIVATE WA_INACTIVE 0
0.1

;note: WM_ACTIVATE does not activate Chrome. Just makes Chrome think that it is active.
#7
Very nice, thanks alot.


Forum Jump:


Users browsing this thread: 1 Guest(s)