Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox action by trigerring actions.
#22
OK then,
applying recent knowledge acquisition, i can create a new tab with that code

int w=win("Mozilla Firefox" "Mozilla*WindowClass" "" 0x804); if(!w) ret -1
Acc a.Find(w "MENUITEM" "New tab (after this tab)**" "class=MozillaWindowClass" 0x1005)
a.DoDefaultAction

but i can't close one with that code, similar

int w=win("Mozilla Firefox" "Mozilla*WindowClass" "" 0x804); if(!w) ret -1
Acc a.Find(w "MENUITEM" "close tab**" "class=MozillaWindowClass[]a:id=context_closeTab" 0x1005)
a.DoDefaultAction
why?

NB: ** translated from french to english, your mileage may vary


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)