从特定的窗口坐标中的命令行启动谷歌浏览器 [英] Launch Google Chrome from the command line with specific window coordinates

查看:569
本文介绍了从特定的窗口坐标中的命令行启动谷歌浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到一个shell命令,将打开谷歌浏览器与特定的x和y坐标(所以打开时,我可以设置窗口的位置。)是否有可能做到这一点使用命令行参数?

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 possible to do this using command line-arguments?

我需要为了实现这个修改的以下命令:

I need to modify the following command in order to achieve this:

谷歌铬http://www.google.com/

推荐答案

<一个href=\"http://peter.sh/experiments/chromium-command-line-switches/\">http://peter.sh/experiments/chromium-command-line-switches/说--window位置= X,Y是你在找什么。

http://peter.sh/experiments/chromium-command-line-switches/ says --window-position=x,y is what you're looking for.

这篇关于从特定的窗口坐标中的命令行启动谷歌浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆