Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
Tinderbox Users >> Questions and Answers >> Prototype blues

Message started by Jolyon on Aug 7th, 2007, 10:36am

Title: Prototype blues
Post by Jolyon on Aug 7th, 2007, 10:36am

If you start a new TB file and create a new note, the default setting (I think) is that the box "Can be a prototype" is NOT checked.

I have one important, sprawling TB document that I am always using and somehow along the way the default has switched such that ALL new notes (regardless of where they appear) ARE prototypes unless you specifically un-switch them. Needless to say, this means that I have loads of rubbish faux-prototypes floating round that I need to get rid of.

Yes, I know there is an obvious way to turn off this default and after you have told me what it is, I will say Doh! and slap my head, but...What is it, please, anyone?


Title: Re: Prototype blues
Post by Mark Bernstein on Aug 7th, 2007, 12:58pm

The attribute IsPrototype is a boolean attribute, like any other.  You *can* change its default value from "false" to "true", in which case all notes will be prototypes unless you say otherwise.

As you observe, you probably don't want this!

But, you can change it back easily.  Open the System pane of the Attributes list, locate IsPrototype in the General category, and you can view and change the current default.

Title: Re: Prototype blues
Post by Jolyon on Aug 7th, 2007, 1:32pm

Thanks, Mark.  What I can't figure out now is how on earth I ever came to switch it from false to true...  But let's not dwell on that, eh?   ::)

Title: Re: Prototype blues
Post by Mark Anderson on Aug 7th, 2007, 2:19pm

As with Many Tinderbox things there is more than one way to fix the problem. Besides the what I'd think of as the' normal' method, as Mark has described above, there's another and perhaps worth reviewing as it's probably how you made the mistake before.

Note that in Tinderbox Boolean data type values are case-sensitive:
- true but not True
- false but not False
You may also input a value of 1 for true and 0 for false but the resulting stored value will always be true/false.

So, with a note selected, go to 'Note' -> 'Get Info' (Cmd+Opt+I), open the note's Info window/view. Most likely 'General' is set in the pop-up list in the top section, but if not open the list and select it. The bottom section of the window show the General system attributes. Re-size or scroll the window so 'IsPrototype' is visible in the left column. Opposite, will be an entry of true or false, the actual value of 'IsPrototype' in that single note.

In each column of the Info window double-clicking an item will open it for editing. The error you probably made was to double-click the left side (the attribute name) and edit the value in the resulting dialog box. An alternate method of invoking an edit is to click-select an item in either column and then use the 'Edit' button at the bottom of the window.

Try invoking an edit for a box on each side - cancel back out - an you'll see the edit dialog box is different. In fairness to Tinderbox it does warn you you're changing the TBX-wide default for that attribute but when your mind's on the task in hand it's very easy to either ignore that or to assume the warning relates to the current note. Now you've seen these different edit boxes whilst not in the middle of an actual task warning bells should ring next time you open the wrong one.  As you may guess, I tripped over this issue when first using Tinderbox and it took a while to figure out!

Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com) » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.