フルスクリーンモードでGoogleChromeを起動します



Launch Google Chrome Fullscreen Mode



解決:

アップデート:

以下のスクリプトに基づいて、より完全なソリューションに取り組んできました。いわゆる FEleven そしてそれはGitHubでホストされています:https://github.com/iglvzx/FEleven

以下のソリューションに対するFElevenの主な利点の1つは、Google Chromeおよびその他のブラウザーの組み込みサポートが含まれているため、window-titleパラメーターを省略できることです。



feleven 'path	ochrome.exe ...'  

If only there was a way to automatically press F11 once Google Chrome was open...

There is! With a little help from AutoHotkey we can launch Google Chrome in fullscreen mode. Now, F11 is pretty standard as a fullscreen keyboard shortcut, so we will write a script that can work with any program we throw at it! Let's begin...




1. Setup

So, one little known feature about AutoHotkey is that you can call scripts from the command line (and with parameters). We will be compiling the following script; I named mine Fullscreen.exe.

#SingleInstance, Force #NoTrayIcon SetTitleMatchMode, RegEx Title = %1% Title := Title . '$' Target = %2% Run, %Target% WinWaitActive, %Title% Send, {F11} ExitApp  

If instead you would like to maximize the window instead of pressing F11, replace Send, {F11} above with:

Send, !{Space} Send, x

概要:



  1. を起動します目標

  2. タイトルのアクティブウィンドウができたら で終わる 私たちのタイトル、F11を送信してフルスクリーンモードを有効にします。

ノート :AutoHotkeyをインストールしたり、独自のスクリプトをコンパイルしたりしたくない場合は、コンパイルしたスクリプトをサーバーにアップロードしました。
アイコンahk.igalvez.net/ Fullscreen.exe 、772 KB

ウィンドウを最大化するための代替手段:
アイコンahk.igalvez.net/ Maximize.exe 、772 KB


デモンストレーション:

これで、を呼び出すことにより、アプリケーションをフルスクリーンで起動できます。そのような.exe:

フルスクリーン 'タイトル' 'ターゲット'

現在、次のディレクトリにいると仮定します。Fullscreen.exeがあります、またはFullscreen.exeは%Path%ディレクトリにあります。

例:

フルスクリーン '-Google Chrome' '%LocalAppData% Google  Chrome  Application  chrome.exe'

ショートカットで使用する(.lnk)またはバッチ(.bat)ファイル!


アプリモードでうまくいくはずです。Chromeのインスタンスをフルスクリーンの別のウィンドウで起動します。

chrome.exe --app = https://my_url.com 
  1. すべてのChromeWindowsを閉じます。
  2. 1つのウィンドウを開きます。
  3. ウィンドウの右上をクリックします(3本の水平線)
  4. ドロップダウンメニューから-下部に移動してクリック-終了

修理済み!