Skip to content

Instantly share code, notes, and snippets.

@TLMcode
Created July 31, 2013 05:03
Show Gist options
  • Save TLMcode/6119409 to your computer and use it in GitHub Desktop.
Save TLMcode/6119409 to your computer and use it in GitHub Desktop.
IEGet2()
IEGet2(name="") {
for obj in ComObjCreate("Shell.Application").Windows
if !obj.AddressBar && (obj.document.title==RegExReplace(name,".*\K\h-.*"))
break
return obj
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment