Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
variable scope : want to be sure
#13
Regex can be used to show but not hide the TB.
Use a hook function.

Toolbar Toolbar hide in some tabs
Trigger !a"Firefox" "MozillaWindowClass"     Help - how to add the trigger to the macro
Code:
Copy      Help
;/hook WndProc_ToolbarHook_hide_in_some_tabs
Function WndProc_ToolbarHook_hide_in_some_tabs
Code:
Copy      Help
;/
function# hWnd message wParam lParam

;OutWinMsg message wParam lParam ;;uncomment to see received messages

sel message
,case WM_INITDIALOG
,SetTimer hWnd 1 500 0
,
,case WM_TIMER
,str s.getwintext(GetToolbarOwner(hWnd)); err
,out s ;;delete this
,sel s 2
,,case ["Quick Macros *","* Stack Overflow - *"]
,,if(!hid(hWnd)) hid hWnd
,,case else
,,if(hid(hWnd)) hid- hWnd
,
,case WM_DESTROY
,

err+


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)