如何打开一个Chrome页面在全屏(而不是最大化,像实际上的f11类型全屏)使用批[已关闭]

hmtdttj4  于 2022-12-06  发布在  Go
关注(0)|答案(1)|浏览(200)

此问题似乎与a specific programming problem, a software algorithm, or software tools primarily used by programmers无关。如果您认为此问题与another Stack Exchange site相关,您可以留下评论,说明在何处可以找到此问题的答案。
22天前关闭。
Improve this question
For reference I am very new to anything programming stuff. I am trying to open "https://www.youtube.com/tv#/" in full screen using a batch file. The Batch file also needs to open another chrome tab a few seconds before opening "https://www.youtube.com/tv#/" because a chrome extension needs to load that prevents youtube TV from redirecting to normal youtube (which allows me to cast to my pc from my phone)
到目前为止,无论我尝试了什么,我都只让它在最大化的窗口中打开窗口,而不是全屏。
如果用另一种语言做这件事会更容易,我很乐意换掉,但我绝对不知道如何写任何其他语言,所以帮助将不胜感激:)

@Echo off

start /MAX "" https://www.youtube.com/
timeout /t 2
start /MAX "" https://www.youtube.com/tv#/

这是我当前的批处理文件,我试过--启动全屏后,但它也不工作,可能也是用错了。

xzlaal3s

xzlaal3s1#

这对我很有效:关闭所有镶边窗口,然后:
start "" chrome --start-fullscreen "https://www.youtube.com/"

相关问题