Created
June 13, 2014 09:08
-
-
Save gotunandan/fb9b54e230e2d8c0fe13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AutoItSetOption ("WinTitleMatchMode", 2 ) | |
| $window = "[CLASS:IEFrame]" | |
| If not WinExists($window)=1 then; | |
| MsgBox(64, "Not Running", "Internet Explorer is not running") | |
| Else | |
| WinActivate($window) | |
| Send("!D");; selects the address bar contents | |
| Send("^c");; copies it to the clipboard | |
| $fullurl = ClipGet() | |
| MsgBox(0, "Result", $fullurl) | |
| EndIf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment