-1
我使用此腳本來一次打開5個URL ...! 現在我想在30秒後自動關閉瀏覽器。自動關閉Chrome瀏覽器或Mozila Firefox 30秒後
它將如何工作?任何想法?
@echo off
START chrome.exe javascript:document. "http://google.com"
exit
我使用此腳本來一次打開5個URL ...! 現在我想在30秒後自動關閉瀏覽器。自動關閉Chrome瀏覽器或Mozila Firefox 30秒後
它將如何工作?任何想法?
@echo off
START chrome.exe javascript:document. "http://google.com"
exit
@echo off
START chrome.exe javascript:document. "http://google.com"
w32tm /stripchart /computer:localhost /period:1 /dataonly /samples:30 >nul 2>&1
taskkill /im chrome.exe /f
exit
您可以使用從Windows Sysinternals的工具pskill。
要獲取暫停使用timeout 30
事情是這樣的:
@echo off
START chrome.exe javascript:document. "http://google.com"
... more stuff here ...
TIMEOUT 30
PSKILL chrome.exe
請添加你已經嘗試或研究您的帖子。乾杯! – SilverlightFox