Window-size/Window-position command line doesn't work
-
Basically, what I'd like to do is start Vivaldi(in another profile) with a command line to set the window size and position, because its very difficult to find the window Id to change it after the fact(the process id changes so the window that opens isn't necessarily the one that holds the tab.).
I've tried the parameters "--window-size=320,800" and "--window-position=300,300" to no effect
One could say this is a request also, include a restore/maximize window command, I can't find such command in the quick commands list.. -
@shoust Hi, I just tried:
d:\bin\Vivaldi-stable-standalone\Application\vivaldi.exe --window-size=800,600 --window-position=100,100
and it worked fine here on Win10 x64, latest Vivaldi 4.0 Stable.Note that this only works if Vivaldi is not already opened.
--start-maximized
also works. There is no--start-minimized
AFAIK.
https://peter.sh/experiments/chromium-command-line-switches/On Windows 10 at least, restore/maximize can easily be done with
Win+DownArrow
,Win+UpArrow
in addition to the good oldAlt+Space
menu. -
Ah that might explain it, I use different profiles open I hope then they add the ability to re-evaluate certain command line options.. or add an ability to start with a certain command, like maximize.
Or would there be a mod to do such a thing? I'll ask in the other forum. -
@shoust said in Window-size/Window-position command line doesn't work:
add an ability to start with a certain command
With a mod you could do .click() on the maximize button, you could also ask for chained commands to have the option of running on startup.
-
@shoust I'm not sure there's a lot they can do, at least in the short term. I think they're pretty much tied down to whatever Chromium does. And yes, Chromium is really limited in terms of what you can do, even trying to separate profile by the command line is impossible...
But there is always hope
-
@code3 said in Window-size/Window-position command line doesn't work:
@shoust said in Window-size/Window-position command line doesn't work:
add an ability to start with a certain command
With a mod you could do .click() on the maximize button, you could also ask for chained commands to have the option of running on startup.
Ironically, just gave that click() a try now(in dev tools) as you wrote that. Works well.
The problem with the chained commands at the moment though is there a lack of a Minimize/Restore Window option which seems odd to me. -
@shoust said in Window-size/Window-position command line doesn't work:
problem with the chained commands at the moment though is there a lack of a Minimize/Restore Window option which seems odd to me.
You can request it.
-
Ppafflick moved this topic from Desktop on