danpla / dpscreenocr

Program to recognize text on screen
https://danpla.github.io/dpscreenocr/
zlib License
231 stars 17 forks source link

Start minimized to tray #19

Closed tom-vb closed 2 years ago

tom-vb commented 2 years ago

Hello, Please allow me a suggestion. Would be nice an option to start the program minimized in the system tray. In my case the program starts when windows starts and I use it when I need it with a hotkey, I can minimize it every time in the system tray using some other program for this purpose, but it has to be done every time the session starts. An option for minimize itself to the system tray on startup would be wonderful.

A greeting. and congratulations for this fantastic program.

danpla commented 2 years ago

Hello, I added a ui_window_minimize_on_start option (false by default) to the configuration file. If both ui_tray_icon_visible and ui_window_minimize_to_tray are enabled, the window will be hidden to tray.

tom-vb commented 2 years ago

Hi, many thanks! I will update right now...

danpla commented 2 years ago

You're welcome. The version 1.0.3 that will include this changes is not yet released, but you can build it manually from the most recent sources as described in doc/building-windows-msys2.txt.

tom-vb commented 2 years ago

Yes, I saw it this morning. Thanks, but I will wait until the new version is released. I'm not familiar with C compilers...