Jim,

Well blow me down. I just spent a good half hour trying to make this work 
with wiki macros and I couldn't. So the answer is to create a javascript 
macro

title: $:/_my/macros/setlowercase.js
tags: $:/tags/Macro
!!Add field
module-type: macro
Text:

/*\
title: $:/_my/macros/setlowercase.js
type: application/javascript
module-type: macro

Macro to set a text string to lower case
\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "setlowercase";

exports.params = [
        {name: "title"}
];

/*
Run the macro
*/
exports.run = function(title) {
        return title.toLowerCase();
};

})();

usage:
<<setlowercase "TextTo Change Case">>


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to