Skip to content

Instantly share code, notes, and snippets.

@maestrith
Created August 6, 2013 04:28
Show Gist options
  • Save maestrith/6162006 to your computer and use it in GitHub Desktop.
Save maestrith/6162006 to your computer and use it in GitHub Desktop.
Posted using AHK Studio
Pwb:=ComObjCreate("InternetExplorer.Application")
url:="http://www.google.com"
pwb.navigate(url)
sleep,1000
For Pwb in ComObjCreate("Shell.Application").Windows{
if InStr(pwb.locationurl,url){
pwb.visible:=1
WinMaximize,% "ahk_id" pwb.hwnd
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment