Hi James Thank you for contributing this. Very useful for sysops, amongst others.
I'd like to add a link to tw.com - would you prefer to be creditted as James Anderson? Best wishes Jeremy On Tue, Mar 25, 2014 at 11:03 PM, James Anderson <[email protected] > wrote: > I have started writing a plugin primarily aimed at an offline Tiddlywiki > running under HTA. The source is here: https://github.com/welford/twexe > > The basic widget syntax is: > <$twexe file="c:/some_batch_or_exe.bat" comment="a basic explanation of > the functionality">Click Me</$twexe> > > This will create a button named "Click Me" that when clicked runs the > executable specified by file, and when hovered over displays the comment > parameter. > > You can also specify a twexe indirectly via a tiddler: > <$twexe tiddler="tiddler_name"/> > > in this case the file parameter is the tiddler's "twexe_target" field, the > comment comes from the tiddler text and the button name from the tiddler's > name. > > When you right click on the button you are given the options to: > > 1. open the file in it's folder using windows explorer > 2. copy the file parameter to the clipboard > 3. open the defining tiddler in TW (if applicable) > > I maybe plan to add file extension specific actions in the future, and I > have written some very rough notes on the experience of creating a widget > here: http://welford.github.io/ These will get updated and cleaned up as > continue development, the contain some info i couldn't easily find > elsewhere. > > Any suggestions are appreciated. > > James > > -- > 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 http://groups.google.com/group/tiddlywikidev. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
