• 博客(0)
  • 资源 (2)

空空如也

Au3 下载文件进度条显示

实例 $360 = _webDownloader("http://down.360safe.com/setup.exe", "setup.exe", "360", @TempDir, False) If $360 Then ProgressSet(100, "请等待", "开始静默安装") $exitCode = RunWait($360 & " /S") If $exitCode = 0 Then ProgressSet(100, "安装完成") If $exitCode 0 Then ProgressSet(0, "安装失败" & @CRLF & "Exit code: " & $exitCode) Sleep(3000) ProgressOff() FileDelete($360) Else ProgressOff() EndIf

2018-05-31

Au3 打印机UDF

打印机添加实例 $SetPrintIP = "192.168.50.154" $SetPrintname = "HP LaserJet Pro m226dw" $SetPrintinf = "HP LaserJet Pro MFP M225-M226 PCL 6" $SetPrintportname = "IP_" & $SetPrintIP If @OSArch = "X86" Then $OSArch = "Windows NT x86" $SetPrintdriver = "hpcm225c.inf" EndIf If @OSArch = "X64" Then $OSArch = "Windows x64" $SetPrintdriver = "hpcm225u.inf" EndIf _PrintMgr_AddPrinterDriver($SetPrintname, $OSArch, @TempDir & "\" & $SetPrintname, @TempDir & "\" & $SetPrintname & "\" & @OSArch & "\" & $SetPrintdriver) _PrintMgr_AddTCPIPPrinterPort("IP_" & $SetPrintIP, $SetPrintIP, 9100) _PrintMgr_AddPrinter($SetPrintname, $SetPrintinf, "IP_" & $SetPrintIP)

2018-05-31

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除