[原创]隐藏掉卡巴斯基试用提示的AutoIt脚本

AutoItSetOption(‘TrayMenuMode’,’1′)
TraySetState (2)

$g_szVersion = “kill_kav_day” ;让程序只运行一次
If WinExists($g_szVersion) Then Exit
AutoItWinSetTitle($g_szVersion)

$i = 0
While $i <= 100 AutoItSetOption("WinTitleMatchMode", 2) ;设置标题匹配模式 标题的任意子串皆可匹配 $handle = WinGetHandle("卡巴斯基反病毒软件","您的评估版本将在") If not @error Then WinSetState($handle, "", @SW_HIDE) Exit EndIf $i = $i + 1 Sleep(1000) WEnd



发表评论

您的电子邮箱地址不会被公开。

2 + 5 =