要查看Internet选项->高级中的某一项是否启用,用_GUICtrlTreeView_GetChecked好像无法获取?是不是有其他解决方法.Run("control inetcpl.cpl")
WinWait("Internet 属性")
$Tab=ControlGetHandle("Internet 属性","","[CLASS:SysTabControl32; INSTANCE:1]")
_GUICtrlTab_ClickTab($Tab,6)
$TreeView=ControlGetHandle("Internet 属性","","[CLASS:SysTreeView32; INSTANCE:1]")
$Item=_GUICtrlTreeView_FindItem($TreeView,"浏览")
$UTF8_Item=_GUICtrlTreeView_GetLastChild($TreeView,$Item)
_GUICtrlTreeView_EnsureVisible($TreeView,$UTF8_Item)
MsgBox(0,"",_GUICtrlTreeView_GetChecked($TreeView,$UTF8_Item))
|