17 Star 71 Fork 23

Fonny / AutoHotkey_L-Docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.ahk 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
#NoEnv
#Warn
#Warn, LocalSameAsGlobal, Off
#Warn, UseUnsetLocal, StdOut
global Gs_IsDebug := true
, gs_version := 0.1
, gs_author := "Fonny"
, gs_public := "2015"
, gs_setting_ini := SubStr(A_ScriptName, 1, -4) ".ini"
Gui Add, ActiveX, w1050 h800 vWB, Shell.Explorer ; The final parameter is the name of the ActiveX component.
WB.silent := true ;Surpress JS Error boxes
ComObjConnect(WB, WB_events) ; Connect WB's events to the WB_events class object.
Gui Show
WB.Navigate("file://z:\ahk_docs_translate\chi\index.html")
return
class WB_events
{
;for more events and other, see http://msdn.microsoft.com/en-us/library/aa752085
NavigateComplete2(wb) {
;~ wb.Stop() ;blocked all navigation, we want our own stuff happening
}
DownloadComplete(wb, NewURL) {
;~ wb.Stop() ;blocked all navigation, we want our own stuff happening
}
DocumentComplete(wb, NewURL) {
;~ wb.Stop() ;blocked all navigation, we want our own stuff happening
}
}
GuiClose:
ExitApp
HTML
1
https://gitee.com/fonny/AutoHotkey_L-Docs.git
git@gitee.com:fonny/AutoHotkey_L-Docs.git
fonny
AutoHotkey_L-Docs
AutoHotkey_L-Docs
master

搜索帮助