我用 notepad++ 測試,如果這個不行,就用下面的
複製程式
WinWaitActive("Notepad++ v5.6.2 安裝")
If ControlTreeView("Notepad++ v5.6.2 安裝", "", "[ID:1032]", "Exists", "Plugins") Then
ControlTreeView("Notepad++ v5.6.2 安裝", "", "[ID:1032]", "Uncheck", "Plugins")
EndIf
複製程式
WinWaitActive("Notepad++ v5.6.2 安裝")
If ControlTreeView("Notepad++ v5.6.2 安裝", "", "[ID:1032]", "Exists", "Plugins") Then
ControlTreeView("Notepad++ v5.6.2 安裝", "", "[ID:1032]", "Select", "Plugins")
Send("{SPACE}")
EndIf
不好意思,Autoit 模擬我很少用
