按键精灵寻找某个进程

VBSBegin
        strProcess = "BubbleFighter.exe"
        Proce = false
        For each x in getobject("winmgmts:").instancesof("win32_process")
        If ucase(x.name) = ucase(strProcess) then
        Proce = true
        Exit For
        End If
        Next
        If Proce then
        dasf=1
        Else
        dasf=2
        End If
    VBSEnd
    If dasf=1
    Else
   RunApp "H:\Program Files\bf\Launcher.exe"
    EndIf

转载时必须链接形式注明作者和原始出处及本声明! 本站多媒体信息[音乐视频图片等]全部收集自互联网,因此造成的争议与本站和本人无关!如果侵犯到您的权益请联系本人删除QQ:23549354:AYOU部落 » 按键精灵寻找某个进程


赞 (0)
分享到:更多 ()
已有 0 条评论