Windows 上的自动化?
我需要在从一台 Windows XP 电脑开始的 3 台不同显示器上的电脑启动时打开 3 个浏览器。 然后我需要将 3 浏览器自动设置为全屏(F11)。 我需要另一件事,在启动时,我将检查互联网连接,如果连接断开,我需要显示一条消息(可能来自本地 html 文件),然后如果连接断开,我需要重试打开 3 浏览器向上。
提前致谢!
i need to open at the startup of the pc 3 browsers on 3 different monitor starting from one Windows XP pc.
Then i need to set the 3 browser to full screen (F11) automatically.
I need another thing, on the startup I'll check the connection to internet, if the connection is down I need to show a message ( maybe from a local html file ) then I need to retry to open the 3 browser if the connection goes up.
thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试AutoIt。它是一种为 Windows 自动化构建的脚本语言,并且可以完成所有这些事情。如果您这样做是为了在一些可用的浏览器上查看特定网站,也可以查看 BrowserShots。
Try AutoIt. It's a scripting language built for Windows automation and can probably do all these things. And on the off-chance that you're doing this to view a specific website on a few available browsers, also check out BrowserShots.
尝试Windows Powershell。要在启动时启动脚本,您可以将其放在启动文件夹中。您也可以在 Powershell 中检查 Internet 连接。可以按照 http://stackoverflow.com/questions/1338327/open- 中的说明打开浏览器ie-maximized-from-powershell-script。
你的代码看起来像这样:
Try Windows Powershell. To start the script at startup you could put it in the Startup folder. You can check for the Internet connection in Powershell as well. Opening a browser can be done following instructions at http://stackoverflow.com/questions/1338327/open-ie-maximized-from-powershell-script.
Your code would look something like:
有许多工具可以在 Windows 上实现自动化。正如其他人提到的,Powershell 来自 Microsoft,而 AutoIt 是免费的第 3 方工具。
如果您正在寻找商业自动化工具,请尝试 RIATest (免责声明:我为公司工作)。
There are numerous tools to do automation on Windows. As others mentioned Powershell comes from Microsoft and AutoIt is a free 3rd party tool.
If you are looking for a commercial automation tool try RIATest (disclaimer: I work for the company).