Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -w (width) and -h (height) command arguments for main window size. #9121

Open
ArkadiuszMichalski opened this issue Nov 7, 2020 · 3 comments

Comments

@ArkadiuszMichalski
Copy link
Contributor

Description of the Issue

Currently, it is not possible to launch the main window in a specific size through command arguments. The short names -w (width) and -h (height) are not in use and could be used for this purpose.

I often need to launch the main window in a specific size (e.g. to update pics). Without dedicated arguments I have to use external programs for this or edit the config.xml file.

Debug Information

Notepad++ v7.9.1 (32-bit)
Build time : Nov 2 2020 - 01:03:56
Path : D:_test\NPPClean\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 7 Ultimate (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1250
Plugins : none

@sasumner
Copy link
Contributor

sasumner commented Nov 7, 2020

Related: #9110

@sasumner
Copy link
Contributor

sasumner commented Nov 7, 2020

Just brainstorming here:
What about an -xywh parameter?

Example usage:

-xywh100,200,300,400

Open Notepad++'s upper left corner at (100,200) with a width of 300 and a height of 400.

@ArkadiuszMichalski
Copy link
Contributor Author

Personally, I prefer separate arguments because they required less data (when I only want to change one thing), but separate -xy and -wh wouldn't be so bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants