I use F6 and ^{insert} to retrieve the URL. This works fine in Firefox, but fails in IE and Maxthon. Instead, my selection gets copied. If I do it manually, then it works in all browsers. Any workarounds?
SendEvent, {F6}
SendEvent, ^{ins}
Clipwait
URL = %clipboard%
MsgBox, Your browser is: %browser%
MsgBox, URL copied: %URL%