Update README.md.

This commit is contained in:
2022-02-25 17:21:28 +03:00
parent e15f08d521
commit cb01a4b815
3 changed files with 12 additions and 0 deletions

View File

@@ -10,3 +10,9 @@ You can also use commandline option ```/hide``` for hide trayicon at startup.
```Use workarea``` option means that the window is centered without a taskbar, otherwise, the full resolution of the monitor will be used.
If some windows does not centers you should run wCenterWindow with administrative rights.
# Automatic startup
Usually, to start the application when Windows starts, it is enough to put the application's shortcut in the "shell:startup" folder. However, in this case wCenterWindow will not be able to work with windows that are open with elevated privileges.
And if you enable the "Run as administrator" option in the shortcut, then wCenterWindow will not start. This is related to the security of Windows (maybe only in 10/11, I did not check).
This behavior can be bypassed by creating a task in the Task Scheduler with the "Run with highest privileges" option.
Note If you run wCenterWindow via the Task Scheduler, I highly recommend enabling the "Delay task for" option for 15-30 seconds, otherwise you may get an error message "Can't create tray icon".

View File

@@ -177,6 +177,9 @@
<ItemGroup>
<Manifest Include="wCenterWindow.manifest" />
</ItemGroup>
<ItemGroup>
<None Include="..\README.md" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@@ -57,4 +57,7 @@
<Filter>Resource Files</Filter>
</Manifest>
</ItemGroup>
<ItemGroup>
<None Include="..\README.md" />
</ItemGroup>
</Project>