Hey Jude: Flowchart Edition

So that we may better understand.
Image via KOUFUKURON.
Here's some stuff usermac has liked. To find more cool stuff, check out Explore »
Can't decide on a typeface for your next project? Why not choose them all, with Michael Flückiger and Nicolas Kunz's Laika, the dynamic font generator. It's a relatively straightforward concept, but could make for some cool visualizers. What if the text on your website 'breathed' with you, or melted when left in the sun? It could either be really cool, or more annoying than regular old blinking text. Personally, I'm picturing a weather display, where the word weather itself morphs in relation to outside conditions. [via thestrangeattractor]The best part is seeing the word react to outside conditions. Imagine a "wall of text" that follows you. lol. Blind spot? What blind spot?
![]()
This is one of my favorite tip.
I seem to always be on the hunt for a quick publishing strategy. A friend of mine, Brian Ginn ( http://usermac.com/), has been using Posterous for quite some time. While I found the interface to be pretty clean, I have a number of blogs that I currently maintain. I didn’t need another. Brian recently went on a trip to China. Although he didn’t have full coverage, he was able to use the iPhone as a broadcast studio storing posts for the times that he did have coverage. Posterous allows you to publish pictures:
Audio:
And video:
Simply by adding the information as an attachment to an email post. Also, as you see with this post, I simply took a screen grab and pasted directly into the body of the email to make a super simple publishing platform. This is something that I have searched to find for some time. Posterous makes it a snap.
I downloaded and was toying with the Sticky Tabs demo posted by Brian Ginn of FileMaker Louisville tonight and couldn't put it down. Using some of the dictionary functions written by Six Fried Rice, and another by Bruce Robertson, I got it working with multiple layouts and multiple tab panel sets. Still uses just one script and just one global variable.
Here are links to the two posts demoing the dictionary functions from SFR, all of which I have to admit I'm a complete slave to in my own work:
PassParameter (), DictGet() and GetParameter are here, and DictRemove() and DictReplace() are here (there are a couple dependencies, so add them in that order). They're all lightweight (i.e. brief) in terms of the code, but they can do heavy duty stuff. The function by Bruce Robertson is a recursive function called FrontTabs() -- it gives a simple list of all the front tabs on the given layout. It's here at briandunning.com.
The rewritten script does the same two basic things the original did: captures the front tabs to a global, then goes to those tabs each time the layout is loaded. With multiple tabs it just had a little more ground to cover.
For the first step -- maintaining a list of the front tabs -- I used SFR's DictReplace function (Again, the functions are just wonderful and incredibly powerful. Essentially they just give you a way to pass multiple script parameters, but really they're as powerful as associative arrays in PHP, letting you pass as many key/value pairs as you need, even nesting them if need be). Each time a tab panel is clicked, the DictReplace function passes an entry to the dictionary stored in $$stickyTab. The entry has the current layout as the name, and a list of the front tabs on the layout as the value.
Flip between the layouts and the $$stickyTab variable begins to look like this:
<:D t002:=2
8
:>
<:C t002:=2
9
:>
<:E t002:=3
9
:>
<:B t002:=5
3
9
:>
I've separated out the name pairs for clarity. The left side of each entry is the layout name, and the right side is the list of front tabs.
Step two is easy. The script is triggered like in the original file, by OnLayoutLoad, with $$stickyTab passed as the parameter. But instead of going to one object it pulls the current layout's dictionary entry from the $$stickyTab dictionary and loops through the list of front tabs, going to each in turn.
I hope that's useful. I don't post a lot of FileMaker stuff online, but this one was fun to work with. I haven't pasted all the code from the script and parameters, but I'm attaching my copy of the file. There really isn't that much code needed. I hope Geoff and company at SFR don't mind me passing on their functions. And thanks again to Brian for the great file. It was incredibly fun to work on.
EDIT: Just looking back at the SFR blog, I noticed Geoff actually posted this same technique in January, though I don't think he carried it out to multiple layouts.