Re: [tw] Re: TW5 - Making a global macro

2014-01-12 Thread Stephan Hradek
Am Samstag, 11. Januar 2014 23:00:57 UTC+1 schrieb Jeremy Ruston: On Fri, Jan 10, 2014 at 3:58 PM, Stephan Hradek stephan...@gmail.comjavascript: wrote: I created a bookmarklet which should be able to transform a WikiText macro into JavaScript code. Maybe you want to try? Stephan,

[tw] Re: TW5 - Making a global macro

2014-01-11 Thread Stephan Hradek
Another possibility, if you can live with some limitations: check A global Macro - with limitations on http://tw5magic.tiddlyspot.com -- 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,

[tw] Re: TW5 - Making a global macro

2014-01-11 Thread Stephan Hradek
Another possibility, if you can live with some limitations: check A global Macro - with limitations on http://tw5magick.tiddlyspot.comhttp://www.google.com/url?q=http%3A%2F%2Ftw5magic.tiddlyspot.comsa=Dsntz=1usg=AFQjCNEtxE6fDesD3llGlGtrtv8OA30HRA -- You received this message because you are

Re: [tw] Re: TW5 - Making a global macro

2014-01-11 Thread Jeremy Ruston
On Fri, Jan 10, 2014 at 3:58 PM, Stephan Hradek stephan.hra...@gmail.comwrote: I created a bookmarklet which should be able to transform a WikiText macro into JavaScript code. Maybe you want to try? Stephan, thank you, once again I'm impressed at your ingenuity. Terrific idea. Best wishes

[tw] Re: TW5 - Making a global macro

2014-01-10 Thread Julie
Maybe is it a sort of hack and it may not be conserved in the release version, but for now a macro defined in the shadow tiddler $:/core/ui/PageMacros is usable anywhere in the TiddlyWiki (you only have to save and reload the wiki after having defined the macro). Le jeudi 9 janvier 2014

[tw] Re: TW5 - Making a global macro

2014-01-10 Thread juan erasmo gomez
As I'm not fluent in JavaScript, I tried Julie's suggestion and it worked. Thanks for your help. El viernes, 10 de enero de 2014 04:07:24 UTC-5, Julie escribió: Maybe is it a sort of hack and it may not be conserved in the release version, but for now a macro defined in the shadow tiddler

[tw] Re: TW5 - Making a global macro

2014-01-10 Thread Stephan Hradek
But it will most probably be gone in the next release. Just take a look at the JS Stuff… It's very easy to transfer a wikitext macro to JS. You don't need to be fluent. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this

[tw] Re: TW5 - Making a global macro

2014-01-10 Thread Julie
The tabs macro is currently in this PageMacros tiddler, so you're right: there may be copy/paste to do if a version modify this tiddler, and a release may even simply delete it. For now, I haven't encountered upgrade issues with 5.0.5 and 5.0.6. (my overridden PageMacros is imported in the new

[tw] Re: TW5 - Making a global macro

2014-01-10 Thread Stephan Hradek
I created a bookmarklet which should be able to transform a WikiText macro into JavaScript code. Maybe you want to try? Check on http://tw5magick.tiddlyspot.com the tiddler Macro to Javascript Bookmarklet. Simply drag the bookmarklet to your bookmarks. Open a new tiddler and paste your macro

[tw] Re: TW5 - Making a global macro

2014-01-09 Thread Stephan Hradek
Am Donnerstag, 9. Januar 2014 23:52:19 UTC+1 schrieb juan erasmo gomez: but I'm wondering if there is a way of defining the macro just once and making it available in every tiddler. Not yet. -- You received this message because you are subscribed to the Google Groups TiddlyWiki

[tw] Re: TW5 - Making a global macro

2014-01-09 Thread Stephan Hradek
I forgot to mention: You can, of course, create a javascript macro I've converted the standard mysamplemacro from tiddlywiki.com to JavaScript. You can view it on http://tw5magick.tiddlyspot.com/ in the tiddler Javascript Macros in WikiText. Have fun… -- You received this message because you