Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi
Tinderbox Users >> Moving to Tinderbox 6 >> Exploding notes
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi?num=1415492907

Message started by jasonromney on Nov 8th, 2014, 7:28pm

Title: Exploding notes
Post by jasonromney on Nov 8th, 2014, 7:28pm

Folks, imagine a scenario where a meeting's discussion is moving so swiftly you lack the time to do more than tap what is said directly into the $Text of a note (as you participate in the conversation).

But as you type in the $Text area of the note, you might have in the back of your mind that a given line's text would be suitable as a new note's $Name, and the text on the line you type following that, should be the $Text to accompany that $Name.

Can you explode a note with some automatic analytics and sorting, such that your note names (AND the paragraph(s) of text that will become their accompanying $Text after the Explode) can be indicated somehow by what you swiftly type into the $Text field of a single note during the meeting?

Cheers.

Title: Re: Exploding notes
Post by J Fallows on Nov 8th, 2014, 7:45pm


Quote:
Can you explode a note with some automatic analytics and sorting, such that your note names (AND the paragraph(s) of text that will become their accompanying $Text after the Explode) can be indicated somehow by what you swiftly type into the $Text field of a single note during the meeting?


I was doing something very much like this through much of the day on Friday at a Fidel-Castro-speech-scale meeting.

Relevant points:

1) You can insert delimiter characters wherever you want as you go, to mark the automatic "explode" point where one note will end and the next note will begin. My own habit is just to use %%, a sequence that doesn't seem to mess up the program and that I am not likely to type in without meaning to. But just about any will do.

2) The auto-titling routine you would probably want to look at is the one that sets the first sentence of each exploded note as that note's $Name. Then all you'd have to do is use your delimiters, and either while doing the initial typing, or in quick revision afterwards, put the intended title phrase right after those symbols. (With a period afterwards, to denote the first sentence.)

There are some pretty easy routines for auto-setting the $Name later on if you want. (Ie, when exploding, the only useful automatic routine is to convert the first sentence. But once the note is done, you could use any other kind of conversion -- eg, going through a note, marking its key phrase off with some character, and then using an agent or rule to create $Names based on sequences with that character.) Good luck

Title: Re: Exploding notes
Post by jasonromney on Nov 8th, 2014, 7:50pm

Thanks J Fallows. Will do.

Title: Re: Exploding notes
Post by Mark Anderson on Nov 9th, 2014, 8:47am

If you'd like exploded notes to be given a prototype at creation there is a simple trick: you see it via the exploded note's $OnAdd.

Let's assume we have a prototype 'Exploded-note' which we want to be given automatically to our newly exploded notes. Set the source note's $OnAdd to:

$OnAdd='$Prototype="Exploded-note";';

The above is all one code expression, the coluor is to help explain the process. Importantly note the use of matched nested single and double quotes. We want the 'exploded notes' container created by the explode to have the blue ocde as it's $OnAdd. Thus we tell the source note that when a note is added, the added note (i.e. 'exploded notes') will set its own $OnAdd to the code in blue. Note that the latter must be a quoted string. As the inner (blue) bit of code already uses double quotes, we enclose it in single quotes.

The end result? You explode the source note and all the resulting new notes (the grandchildren) will use the prototype 'Exploded-note'. You may also find it instructive to look at the $OnAdd for the 'exploded notes' container to see what got set there.

It's an existing feature request to be able to specify a prototype on the Explode dialog. But, in the meantime (as at v6.1.0) the above works just fine.

Title: Re: Exploding notes
Post by J Fallows on Nov 9th, 2014, 9:59am

Mark A, thanks, I hadn't known about this possibility for recursive use of $OnAdd. Another illustration of how an expansive answer to a specific question can explain larger principles.

Title: Re: Exploding notes
Post by Mark Anderson on Nov 9th, 2014, 11:36am

Give a man a fish / teach a man to fish.   :)

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.