I. 用AutoHotKey寫一個小小的搜尋視窗(使用google引擎為範例)
pwp := ComObjCreate("InternetExplorer.Application")
pwp.Visible := false
pwp.ToolBar := false
InputBox, query
pwp.navigate("www.google.com/?q=" + query)
While pwp.ReadyState != 4
Sleep 100
pwp.visible := true
Send, {Enter}
結果:
來源: AutoHotkey: COM with Internet Explorer Tutorial. Part 1
使用traytip
