Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clicking 2 buttons on firefox status bar
#2
Use accessible objects or "find image". Look in QM floating toolbar -> Window, control.

Macro Macro2573
Code:
Copy      Help
int w=win("Mozilla Firefox" "MozillaWindowClass")
Acc aBar.Find(w "TOOLBAR" "" "a:id=nav-bar" 0x1004 1)
Acc aJS.Find(aBar.a "PUSHBUTTON" "" "a:id=QuickJava_ToolbarIcon_Container_JavaScript" 0x1081)
Acc aF.Find(aBar.a "PUSHBUTTON" "" "a:id=QuickJava_ToolbarIcon_Container_Flash" 0x1081)
aJS.DoDefaultAction
aF.DoDefaultAction
My Firefox version does not have a status bar. These buttons are on the navigation toolbar. Therefore this macro will not work with your Firefox version, need to change something.

Quick Java add-in adds a QJ button that toggles "favorite" buttons, ie does exactly what you need. Unless you use old versions of Firefox and Quick Java.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)