Author Topic: Add option to always start with last used library  (Read 153 times)

Poison

  • Newbie
  • *
  • Posts: 8
Add option to always start with last used library
« 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

Sander Berents

  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 91
    • Code Obsession
Re: Add option to always start with last used library
« Reply #1 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.
Sander Berents
Code Obsession, LLC
http://codeobsession.com

Poison

  • Newbie
  • *
  • Posts: 8
Re: Add option to always start with last used library
« Reply #2 on: April 08, 2020, 04:22:43 AM »
Yes, it works for me, thank you very much.

Sander Berents

  • Global Moderator
  • Jr. Member
  • *****
  • Posts: 91
    • Code Obsession
Re: Add option to always start with last used library
« Reply #3 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.
Sander Berents
Code Obsession, LLC
http://codeobsession.com