举报
#include <WinAPIEx.au3> Local $list = ProcessList('AutoIt3.exe'), $i, $sFilePath, $msg For $i = 1 To UBound($list, 1) - 1 $sFilePath = _WinAPI_GetProcessCommandLine($list[$i][1]) If $sFilePath == '"' & @ScriptFullPath & '"' Then ContinueLoop $msg = MsgBox(4, '是否关闭' & $list[$i][1], $sFilePath) If $msg = 6 Then ProcessClose($list[$i][1]) Next
... 要是有一个函数能直接指定脚本名称关闭就好啦 ... 蓝袍道士 发表于 2012-2-21 10:01
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-30 04:40 , Processed in 0.112776 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.