Launch Google Chrome from the command line with specific window coordinates

后端 未结 5 667
悲&欢浪女
悲&欢浪女 2020-12-02 15:56

I\'m trying to find a shell command that will open Google Chrome with specific x and y coordinates (so that I can set the position of the window when it opens.) Is it possib

5条回答
  •  囚心锁ツ
    2020-12-02 16:48

    With my latest version of Chrome - I only needed the following. Everytime I closed the app, it remembered my window size and position.

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --chrome-frame --app=https://mightytext.net/web8/?exp=1
    

    This worked for me in Version 48.0.2564.48 beta-m (64-bit) and Version 48.0.2564.48 beta-m (64-bit)

提交回复
热议问题