找回密码
 加入
搜索
查看: 2361|回复: 0

[系统综合] 运行报错

[复制链接]
发表于 2016-7-21 23:15:59 | 显示全部楼层 |阅读模式
ICON_file= @WindowsDir & '\system-ICO.DLL'
;FileCreateShortcut ( "http://192.168.0.253:18897/eyooboard/", @DesktopDir & '\顾客留言.lnk', @SystemDir , "" , "" , $ICON_file , "" , 85)


;#ce

;#cs

;分组执行程序演示
;说明 _IPChose("前缀","IP末位开始","IP末位结束","要执行的程序全路径")
;例,从 192.168.0.1-192.168.0.20,执行 c:\1.exe
;_IPChose("192.168.0.","11","180","D:\常用工具\客户端\维护通道\AutoExe\7777.exe")


Func _IPChose($item_qz,$item_s,$item_e,$ExePath)

For $i = $item_s To $item_e
If @IPAddress1 = $item_qz & $i Then
Run($ExePath)
EndIf
Next
EndFunc ;==>_IPChose

#ce
#某个时间段运行程序
        $s=@HOUR
        $f=@MIN
        $SF=$s&$f
        if Number($SF)>0800 And Number($SF)<2358  Then
                 Run("D:\Program Files (x86)\comgame\SecureIdentify.exe")
                ;运行你的脚本                                
                Else
                ;什么都不做

         EndIf
#某个时间结束程序
While 1
        ;
        $s=@HOUR
        $f=@MIN
        $SF=$s&$f
        if Number($SF)=2359 Then
                 processclose("SecureIdentify.exe")
                ;运行你的脚本                                
                Else
                ;什么都不做

         EndIf
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-26 23:28 , Processed in 0.080376 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表