Hello Atnbueno. I am still new to AHK.
I found your script and tried to use it within my browser.
but it doesn't work.
I downloaded GetActiveBrowserURL.ahk and Acc.ahk in one directory
and run it. but it make some error
>>>Line Text: Try SURL : accAddress3ar.accValue©
>>> Error: ThlS llne does not contaln a recognlzed act-on.
>>> The program Will exit.
if I run Acc.ahk
>>> Error: This does not contian a recognized action.
>>> Specifically: try return
>>> ComObjType(Acc " Name")="IAcceSSlble"?Acc_GetRoleText(Acc.accRole(ChildId)) :"invlalid object...
>>> Line
>>> 065- Return DllCall (SetWinEventHook" "Lint" eventMin, "Uint"
>>> eventMax, "Ulnt" 0 Ptr, pCallback, "Ulnt" 0 "l_llnt" 0 "l_llnt" 0)
>>> 066:}
>>> 070: Return,D Call(" nEvent" "Ptr" hHook)
>>> 071:}
>>> The program Will exit.
please give me direction.
what I am finally trying to is this:
1. press specific key "Ctrl +#" on a browser like IE, Chrome, Firefox, Maxthon
2. if I press "Ctrl+1", get the url from current browser run the url on IE.
3. if I press "Ctrl+2", get the url from current browser run the url on Chrome.
4. if I press "Ctrl+3", get the url from current browser run the url on Firefox.
5. if I press "Ctrl+4", get the url from current browser run the url on Maxthon .
Please help me.
I am sick of switching my several browser and IE ActiveX and misc problem..
av9300 at gmail.com from Korea.