Ask Your Question
0

How can I open Google Chrome using command line with particular window coordinates?

asked 2023-05-14 02:45:24 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-14 03:03:03 +0000

lalupa gravatar image

You can open Google Chrome with particular window coordinates by using the following syntax in the command line:

chrome --window-position=x,y

where x and y are the X and Y coordinates for the top-left corner of the window.

For example, to open Google Chrome at position 800 pixels from the left and 600 pixels from the top of the screen, you would use the following command:

chrome --window-position=800,600
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-14 02:45:24 +0000

Seen: 8 times

Last updated: May 14 '23