Tinderbox Forum

Favorites menu and template on opening

This should be an easy one.

(1) How do I populate the Open Favorites menu with Favorites?

(2) When I open Tinderbox I get a blank document. I would rather have my own blank template come up. How do I make that happen?

Thanks.

BH

(1) By placing files in the app support favorites folder. See here.

(2) At present you can’t. I suggest you make a feature request to info@eastgate.com (this being a user-to-user forum, we users don’t decide such things).

Re the latter, (2) was in large part what led to (1). It is also worth noting you can’t suppress the oping of a new blank doc. If you open the app and switch focus (with no doc open) you get a new default doc.

HTH :slight_smile:

Amen to the last. However, it is worth noting that Apple have—so I understand—essentially deprecated this pre-OS X feature so how long it works I don’t know. Personally, I’m happy to use it as described above but the app’s method is designed to not rely on features the OS vendor may withdraw.

Also (not tried) you can probably put a shortcut to the stationery note in your favourites folder so it shows up in the favorites menu.

I’m confused, I think you’ve misunderstood what I wrote. Stationery notes work on 10.14.x as I use them and on 10.15.x as I know that’s what you’re using. I suspect they work on Big Sur too but I’ve not tried it. I didn’t say they didn’t work, indeed I added to your suggestion.

The point about deprecation goes back to a comment somewhere in (beta) discussions during v5 → v6 Tinderbox codebase shift about stationery notes. IIRC is was due to the way they are implemented vs the shifts in OS design since. I didn’t keep note other than to remember stationery notes, as in the original pre-OS X sense were not necessarily a long-term feature.

The latter did lead to change in how favourites work as all files in that folder, regardless of an OS ‘stationery’ flag, now open as if they are OS stationery files, which wan’t always the case.

Any, at this point we’re probably confusing the OP. Either method is possible, the one the OP asked about or the generalised OS stationery note solution. Use eiher or both—very Tinderbox solution with more than one approach. :slight_smile:

You’re confusing me.

Back in the day, stationery support was the responsibility of the application. A stationery-aware app would check the stationery bit and alter its behavior accordingly.

This broke sometime around Tinderbox 6. The file system API for accessing the relevant bit was deprecated in a wholesale file system overhaul, and it was never replaced. There remain shady ways to sense the bit, but I do try to avoid those!

HOWEVER, it turns out that in Catalina the stationery bit “just works”: stationery pads work in 10.15 as they ought, without intervention from Tinderbox. So, stationery pads are again a great solution.

1 Like

We then have the best of both worlds. Files placed in the favourites folder show up in the ‘favourites’ menu and —regardless of a stationery bit set or not on the source TBX—open a new unsaved copy.

TBXs elsewhere with OS Stationery bit set honour that flag (certainly in macOS 10.14/10.15) if opened in Tinderbox.

The latter don’t show up in the favourites menu unless the use places an alias in the favorites folder.

What can’t (yet?) be done is make use Tinderbox use a customised document as the default ‘new’ document, i.e. instead of a basic empty document.

After 20 years across OS 9, OS X, and macOS and a change of app codebase/compiler I’m not surprised that some things get confused, even for the maker! The desktop environment’s changed a lot since 2001.

@eastgate Please add at least an option to don‘t open an empty tbx file when Tinderbox launches or activates. It’s cumbersome to first close the empty file and afterwards open the file I actually want (i.e. my starter file or another file).

(In the past it also happened more than once that I didn’t pay enough attention and started to work in the empty file instead of my starter file; using a different color scheme solved that. It was very confusing to find things that didn’t work although they should - until I found that it’s simply not my starter file I was working in.)

Most people prefer to let macOS reopen the Tinderbox file on which they had been working; this avoids opening an empty document.

1 Like

I’m not “most people” either.

I’ve found it annoying to have to dismiss that blank document that pops up with a default color scheme that I never use (with the inability, I think, to change the default?).

1 Like

Well, then obviously I’m not “most people”. I’ve disabled this feature in macOS preferences.

I can see that the current behavior is convient for user that don’t use a starter file and/or only use one Tinderbox.

But when working with several Tinderbox files it really gets annoying to have to dismiss the unwanted blank file. I didn’t find a way to dismiss it via Keyboard Maestro, otherwise I wouldn’t ask.

Wouldn’t it be possible to have a setting that stops opening a blank file? As it’s a one off task a hidden preference invoked via Terminal would be fine, I think.

To close an empty document immediately: ⌘-⇧-W. (This works in most macOS applications).

The countervailing question is the brand-new user, faced with an empty screen and an intimidating menu bar.

I assumed that was the reason and understand it.

Adding a (hidden) preference would serve those users who don’t need the guidance of an empty document each time they activate Tinderbox while no other document is opened. It’s really annoying