Hi PMario, 

Sorry for the confusion but I confused myself. I haven't quite recovered 
from an overly fun weekend... The way I want to use this is for creating a 
history tab, and not related to saving at all! FrD did have the correct 
answer I was looking for. Minimum working example for posterity:

filename=test.js:

/*\ title: test.js type: application/javascript module-type: macro <<test>> \*/ 
(function(){ /*jslint node: true, browser: true */ /*global $tw: false */ "use 
strict"; exports.name = "test"; exports.params = []; /* Run the macro */ 
exports.run = function() { return this.getVariable("currentTiddler"); }; })();

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/3280843d-8116-4170-9330-e2959807dbb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to