Where may setting about last opened window style be stored?
up vote
0
down vote
favorite
I make an app with Nativefier, and I want it to open minimized on start. Unfortunately, not all app honor the requested style, so either using PowerShell command
Start-Process -WindowStyle Minimized 'D:GitHubWeb-wrapperGoogle Keep-win32-ia32Google Keep.exe'
or setting its property as minimized
won't work.
One workaround solution is via regedit (see the second link), but as a standalone app, there is no way to know. So I guess the only way to find the setting that force it to start minimized is via its source code, but it doesn't seem to have any config file.
Do you know how to set it starts minimized with PowerShell? And in general, where may such setting be stored?
powershell window styles
add a comment |
up vote
0
down vote
favorite
I make an app with Nativefier, and I want it to open minimized on start. Unfortunately, not all app honor the requested style, so either using PowerShell command
Start-Process -WindowStyle Minimized 'D:GitHubWeb-wrapperGoogle Keep-win32-ia32Google Keep.exe'
or setting its property as minimized
won't work.
One workaround solution is via regedit (see the second link), but as a standalone app, there is no way to know. So I guess the only way to find the setting that force it to start minimized is via its source code, but it doesn't seem to have any config file.
Do you know how to set it starts minimized with PowerShell? And in general, where may such setting be stored?
powershell window styles
Windows has API for that, useWinExec()
.
– Biswapriyo
Nov 23 at 15:05
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I make an app with Nativefier, and I want it to open minimized on start. Unfortunately, not all app honor the requested style, so either using PowerShell command
Start-Process -WindowStyle Minimized 'D:GitHubWeb-wrapperGoogle Keep-win32-ia32Google Keep.exe'
or setting its property as minimized
won't work.
One workaround solution is via regedit (see the second link), but as a standalone app, there is no way to know. So I guess the only way to find the setting that force it to start minimized is via its source code, but it doesn't seem to have any config file.
Do you know how to set it starts minimized with PowerShell? And in general, where may such setting be stored?
powershell window styles
I make an app with Nativefier, and I want it to open minimized on start. Unfortunately, not all app honor the requested style, so either using PowerShell command
Start-Process -WindowStyle Minimized 'D:GitHubWeb-wrapperGoogle Keep-win32-ia32Google Keep.exe'
or setting its property as minimized
won't work.
One workaround solution is via regedit (see the second link), but as a standalone app, there is no way to know. So I guess the only way to find the setting that force it to start minimized is via its source code, but it doesn't seem to have any config file.
Do you know how to set it starts minimized with PowerShell? And in general, where may such setting be stored?
powershell window styles
powershell window styles
edited 22 hours ago
asked Nov 23 at 14:46
Ooker
7001428
7001428
Windows has API for that, useWinExec()
.
– Biswapriyo
Nov 23 at 15:05
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28
add a comment |
Windows has API for that, useWinExec()
.
– Biswapriyo
Nov 23 at 15:05
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28
Windows has API for that, use
WinExec()
.– Biswapriyo
Nov 23 at 15:05
Windows has API for that, use
WinExec()
.– Biswapriyo
Nov 23 at 15:05
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
Fix #522 - Add --start-in-tray CLI flag to let app start in background
seems to solve your problem.
No documentation for it, but I guess you need to use the command :
nativefier --tray start-in-tray
Or maybe
nativefier --start-in-tray
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Fix #522 - Add --start-in-tray CLI flag to let app start in background
seems to solve your problem.
No documentation for it, but I guess you need to use the command :
nativefier --tray start-in-tray
Or maybe
nativefier --start-in-tray
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
add a comment |
up vote
1
down vote
Fix #522 - Add --start-in-tray CLI flag to let app start in background
seems to solve your problem.
No documentation for it, but I guess you need to use the command :
nativefier --tray start-in-tray
Or maybe
nativefier --start-in-tray
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
add a comment |
up vote
1
down vote
up vote
1
down vote
Fix #522 - Add --start-in-tray CLI flag to let app start in background
seems to solve your problem.
No documentation for it, but I guess you need to use the command :
nativefier --tray start-in-tray
Or maybe
nativefier --start-in-tray
Fix #522 - Add --start-in-tray CLI flag to let app start in background
seems to solve your problem.
No documentation for it, but I guess you need to use the command :
nativefier --tray start-in-tray
Or maybe
nativefier --start-in-tray
answered Nov 23 at 18:46
harrymc
249k10257549
249k10257549
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
add a comment |
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
unfortunately, the code is still unmerged
– Ooker
22 hours ago
unfortunately, the code is still unmerged
– Ooker
22 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
That explains why no documentation, but it will arrive.
– harrymc
21 hours ago
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377823%2fwhere-may-setting-about-last-opened-window-style-be-stored%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Windows has API for that, use
WinExec()
.– Biswapriyo
Nov 23 at 15:05
Is it possible for you to make it an answer? It seems that I need to use C# to call it, and it's basically out of my ability
– Ooker
Nov 23 at 16:28