Windows 上的自动化?

发布于 2024-10-04 17:03:23 字数 179 浏览 0 评论 0原文

我需要在从一台 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

怪我入戏太深 2024-10-11 17:03:23

尝试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.

烟织青萝梦 2024-10-11 17:03:23

尝试Windows Powershell。要在启动时启动脚本,您可以将其放在启动文件夹中。您也可以在 Powershell 中检查 Internet 连接。可以按照 http://stackoverflow.com/questions/1338327/open- 中的说明打开浏览器ie-maximized-from-powershell-script

你的代码看起来像这样:

$ie=new-object -com internetexplorer.application
$ie.visible=$true
$ie.navigate($url1)
$ie.navigate($url2,0x0800)

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:

$ie=new-object -com internetexplorer.application
$ie.visible=$true
$ie.navigate($url1)
$ie.navigate($url2,0x0800)
翻身的咸鱼 2024-10-11 17:03:23

有许多工具可以在 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文