全球主机交流论坛

标题: 开机自动启动高铁采集器 [打印本页]

作者: zxxx    时间: 2021-5-23 15:21
标题: 开机自动启动高铁采集器
本帖最后由 zxxx 于 2021-5-23 14:43 编辑

高铁采集器win10全兼容版下载地址:

http://q315344306.oicp.net:9800/highferrum_9.8.0.0_full_function_win10.zip



Z:\Locoy\StartLocoy.ps1

  1. function Send-Keystrokes ([string] $Keys, [string] $Title, [int] $Delay = 1) {
  2.   try {
  3.     $wshell = New-Object -ComObject WScript.Shell
  4.     IF ($Title) {
  5.       $wshell.AppActivate($Title)
  6.     }
  7.     Start-Sleep -Seconds $Delay
  8.     $wshell.SendKeys($Keys)
  9.     Start-Sleep -Seconds 1
  10.   }
  11.   finally {
  12.     try {
  13.       [System.Runtime.InteropServices.Marshal]::ReleaseComObject([System.__ComObject]$wshell) | Out-Null
  14.       [System.GC]::Collect()
  15.       [System.GC]::WaitForPendingFinalizers()
  16.     }
  17.     catch { }
  18.   }
  19. }

  20. $Title = "高铁采集器"
  21. $WorkingDirectory = "Z:\Locoy"
  22. $FilePath = "Z:\Locoy\高铁采集器9.8全功能版(账号密码随意输入).exe"

  23. Start-process  -FilePath $FilePath -WorkingDirectory $WorkingDirectory | Out-Null
  24. Send-Keystrokes -Keys "username" -Title $Title -Delay 5
  25. Send-Keystrokes -Keys "{TAB}"
  26. Send-Keystrokes -Keys "password"
  27. Send-Keystrokes -Keys "{TAB}"
  28. Send-Keystrokes -Keys "{TAB}"
  29. Send-Keystrokes -Keys " "
复制代码



C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Z:\Locoy\StartLocoy.ps1

右键【开始】,选择【计算机管理】,创建基本任务






作者: gssasd    时间: 2021-5-23 15:22
学习了。这个采集好用吗?
作者: aipage    时间: 2021-5-23 15:23
挂机宝还关机的吗
作者: peng123    时间: 2021-5-23 17:19
前面的是什么脚本??
作者: zxxx    时间: 2021-5-23 17:29
peng123 发表于 2021-5-23 17:19
前面的是什么脚本??

Powershell
作者: ioioio    时间: 2021-5-23 17:55
高铁和火车采集是同一家公司吗.
作者: 吖的    时间: 2021-5-23 18:07
ioioio 发表于 2021-5-23 17:55
高铁和火车采集是同一家公司吗.

我也想知道 有何关联
作者: primelau    时间: 2021-5-23 18:13
提示: 作者被禁止或删除 内容自动屏蔽
作者: 专业黑人抬棺    时间: 2021-5-23 18:27
楼主做个杀毒测试啊,各种杀软都上一遍
作者: sky21022    时间: 2021-5-23 18:34
奈斯,技术派,收藏备用。
作者: 怪人    时间: 2021-5-23 21:34
可以可以
作者: 没钱图屌丶    时间: 2021-5-23 21:39
ioioio 发表于 2021-5-23 17:55
高铁和火车采集是同一家公司吗.

高铁是破解版




欢迎光临 全球主机交流论坛 (https://mjj.022333.xyz/) Powered by Discuz! X3.4