Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attach toolbar to website
#3
example
Toolbar
Trigger !n"Quick Macros Forum" "MozillaUIWindowClass"     Help - how to add the trigger to the macro
Code:
Copy      Help
;/hook tb_hook_attach_to_website
Macro924 :mac "Macro924"
Macro923 :mac "Macro923"

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)