Tinderbox screencast number 2 — stamps and agents

I’ve uploaded the second of my Tinderbox 6 tutorial videos. This one might be a little — just a little — bit more polished than the first. In this episode I provide a quick introduction to Stamps and Agents. Stamps allow you to set an action to be applied to a number of selected notes simultaneously. Agents are notes that look for other notes that match a specific criteria and then apply some action to them automatically. Agents work continually, search for any new notes or changes to work upon, while Stamps are used manually by the user. Hopefully you will see what I mean if you watch the video. Here it is:

Introduction to Tinderbox 6 – Part 2 from Stephen Zeoli on Vimeo.

Advertisements

5 comments

  1. Thanks for another useful video.

    To dismiss the new agent pop-up you can click anywhere on the document window outside the pop-up except in the active pane (i.e. here, on the text pane or main toolbar but not the view pane). The same holds true for most pop-up in TB 6+.

    Note in the first agent that in queries the ‘=’, i.e. “is equal to” test, in queries, is now for legacy support. So, whilst ‘=’ still works for now the sugested syntax is ‘==’ (two equals signs).

    Apologies for the seeming pedantry but the syntax change wasn’t made to trip people up and it reflects the fact action code has got more complex over Tinderbox’s 14+ years. Some action code operators can now have queries an input. Thus an explicit ‘==’ tells Tinderbox’s parser unambiguously that you’re testing equalty in a query and not just assigning a value to an attribute.

    1. Thanks, Mark. I realized after posting the video about the two “=” syntax. I will be sure to do that properly in future videos.

      1. For maps, another neat stamp trick is using an adornment as a ‘visual’ stamp by using its $OnAdd as the stamp. Plus, a smart adornment can use a query, e.g. $Who==”Mary”. Then if you set a not’s $Who to “Mary”, it would automatically move onto that smart adornment. This approach works best, I think , if you’re working with a big screen (map!) and not too many different groupings to track.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s