06-01-2016, 07:50 AM
ok, perfect as usual...
Is it possible then to interact between toolbar and Macro chrome address function provided earlier???
Can the main function pass string or array to toolbar via wParam or lParam, i tried with no success..
Function ChromeMonitor
Trigger !cv"* - Google Chrome" "Chrome_WidgetWin_1" "" "" "" 0x2 /CHROME
Is it possible then to interact between toolbar and Macro chrome address function provided earlier???
Can the main function pass string or array to toolbar via wParam or lParam, i tried with no success..
Function ChromeMonitor
Trigger !cv"* - Google Chrome" "Chrome_WidgetWin_1" "" "" "" 0x2 /CHROME

#sub Hook
function hHook event hwnd idObject idChild dwEventThread dwmsEventTime
ARRAY(str)+ h
IStringMap+ m
if(!hwnd) ret
Acc a.FromEvent(hwnd idObject idChild)
sel a.Name
,case ["Barre d'adresse et de recherche"]
,str url=a.Value
,SendMessage toolbarwindow WM_MYMESSAGE h m
,case else ret