And since a link kindly provided by @mwra within the thread is not retrievable at the moment, I’d like to ask here for help on how to create the appropriate Template(s)/Prototype(s) for exporting notes as separate text files.
The attached TBX file will export all the notes in the “Notes to export” container as plain text files with file names set to each note’s $Name.
The “Notes to export” container is not special. The reason that the notes are exported is that they have the $HTMLExportTemplate attribute set.
The value of an exported note’s $HTMLExportTemplate is the path of a template note, whose $Text specifies how the note should be exported. In this case, the template note they are using has $Text set to ^text(plain)^. This means that any note using this as a template should be exported as a file containing the plain-text value of the note’s $Text attribute.
The exported notes also have their $HTMLExportExtension attribute set to “.txt” so that notes are exported as .txt files, and not the .html files (the default).
There are a few moving parts here, but it’s not all that complicated. Just play around with this file a bit and you’ll get it.
I often do create a Tinderbox file just to jot down or sketch out a few points or ideas (some may jot down in either Simplenote or nvALT) without even naming and saving the Tinderbox-file …
Then, I don’t want to:
I just want to:
click on File –> Export –> as Text and there: be able to decide whether to export notes in either one “big” file or separately in lots of “little” files … since it’s rather counter-intuitive, at least for me, to export Text-files using Export as HTML …
It’s for the purpose of quick and dirty jotting down notes and exporting them separately … Stamps and Template should be reserved for rather well-considered and thorough note export …
I may be misunderstanding this, but it seems to me that the Tinderbox operations can already be near the level of irreducible minimal-keystrokes for the kind of thing you’re talking about. For instance:
Suppose you just want to jot down a simple list of items or ideas. For each, a title and some reference notes.
With zero formatting or pre-work, you can start doing that with a new blank file like the one shown below. And then, just go over to the right-hand text pane, and you’ll see a $Name-and-$Text summary of the notes you want to select. Either all of them (first image) or some of them (second).
Then you can use just normal Cmd-C copy from the right hand text pane to use that material any other way you want. I recognize that each person has particular work flows, but exporting each note as its own file, as you’re saying, would seem to involve its own overhead too. (You need to name the files. You need to re-open them. etc.) One approach vs the other is not better; not worse; may be preferable for your particular work style. Just saying that there is a simple system already built in.
[quote=“andreas, post:7, topic:818”] Stamps and Template should be reserved for rather well-considered and thorough note export …
As for Stamps, I think of them in just the opposite way – as a quick-and-easy lightweight means of getting something done. Ie, spend the one minute setting up a stamp the way you want. Thereafter you can use it with a net working time of about three seconds per use–almost as if it were a keyboard macro shortcut. (One keystroke to select the item you’re interested in; one keystroke to bring up the Stamps menu; then a click or shortcut key to apply the Stamp you want.)
My point is: there’s no disputing the tastes we each bring to our work. But on a measurable workflow basis, there are already some barebones minimal-keystroke approaches within the system. FWIW.
However, as the title of this thread may tell, my focus here lies exclusively on Exporting (many) notes as separate txt-files; not on copying and then pasting them manually into externally created txt-files.
And: I don’t want to export all notes into one single txt-file either.
I do want to export all notes into separate txt-files - as done in @galen’s kindly provided “plain-text-export.tbx”. However, this involves some steps of creating a Template and setting .html to .txt (with or without a Stamp) and so forth. So I could create a new Tinderbox file, start brainstorming and jotting down ideas and then quickly exporting those notes as separate txt-files to my nvALT-Folder or into Devonthink.
So (since there is already an option in Tinderbox of “Export … as Text”) I was just wondering whether it would be possible to add a(n additional) checkbox in this very “Export … as Text”-Dialog that would additionally offer the possibility of exporting all the notes as separate txt-files beside the default-option of only exporting all the notes into one single txt-file.
For a non-programmer like me it’s rather counter-intuitive having to create a plainText-Template, using an HTML-Export-Routine, renaming .html to .txt in order to simply export notes as txt-files; especially once there is an “Export … as Text”-Option already build into Tinderbox.
But again: Galen’s suggestion works well.
Thank you all for being so pc (= passionately cooperative)!
In the mean time, you can create a “template” Tinderbox document already configured to export notes as text (maybe you make that the default new document, if it’s something you do frequently). Then you can set it up one time, and never think about it again.
note: I’m not suggesting your feature request isn’t worthwhile… just suggesting something that you can do today, without waiting for a future TB update
Yep, this is a perfect case for a starter template file. Store it in ~/Library/Application Support/Tinderbox/favorites and then you can immediately open a copy of it in File -> Open Favorites.
I have a starter file that contains the common prototypes, templates, and stamps that I end up wanting in most of my documents., as well as my preferred look and feel: different default note color, no shadows, no 3-D bevels, no composites, etc.
In this case, you’d always have a plain-text template and a stamp defined to immediately export whatever notes you wish.