Code Obsession Forum

Observatory => Wish List => Topic started by: Poison on April 07, 2020, 05:27:00 AM

Title: Add option to always start with last used library
Post by: Poison on April 07, 2020, 05:27:00 AM
Hi,

I'm using Observatory as my personal astro photo library.
As I'm using only one library, I would like to open Observatory and it will start with the recent used library (in my case my only library).

For now I have to start Observatory, choose my (only) library and that is a little annoying. :-)

All the best,
Oliver
Title: Re: Add option to always start with last used library
Post by: Sander Berents on April 07, 2020, 02:21:01 PM
Hi Oliver,

Reopening windows upon launching an application is a system-wide setting on macOS. Observatory is a native macOS application, and it also uses this mechanism. Open your System Preferences (Apple menu ▸ System Preferences), and change the state of the checkboxes I have outlined below. These are my settings, and on my system Observatory reopens its library windows automatically upon launching.
Title: Re: Add option to always start with last used library
Post by: Poison on April 08, 2020, 04:22:43 AM
Yes, it works for me, thank you very much.
Title: Re: Add option to always start with last used library
Post by: Sander Berents on June 08, 2020, 07:32:47 PM
The next update to Observatory will reopen the libraries automatically, regardless the system preferences. In the meantime, in Terminal enter

defaults write com.codeobsession.Observatory NSQuitAlwaysKeepsWindows -bool true

This only has to be done once.
Title: Re: Add option to always start with last used library
Post by: Sander Berents on October 09, 2020, 12:55:05 PM
This has been resolved in Observatory 1.5.2. When Observatory launches it now always reopens the libraries that were previously open.