Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Toolbar and browser
#4
this is with hook function

Toolbar tb qm forum
Trigger !n"Quick Macros Forum" "MozillaUIWindowClass"     Help - how to add the trigger to the macro
Code:
Copy      Help
;/hook tb_hook_attach_to_website
mes 1 :mes 1
mes 2 :mes 2

Macro tb qm forum on activate
Trigger !a"Quick Macros Forum" "MozillaUIWindowClass"     Help - how to add the trigger to the macro
Code:
Copy      Help
;/tb qm forum

Function tb_hook_attach_to_website
Code:
Copy      Help
;/
function# hWnd message wParam lParam

sel message
,case WM_INITDIALOG ;;note: in QM < 2.2.0, this message is not sent. Use WM_CREATE instead.
,SetTimer hWnd 100 500 0
,
,case WM_TIMER
,str s.getwintext(GetToolbarOwner(hWnd))
,if(find(s "Quick Macros Forum")<0) clo hWnd
,


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)