Thanks BramChen,

that was exactly what I needed!!

here's the modified version I'm using now (I forgot to use "img"
instead of tiddler)

<<tiddler __dummy with:{{
 window._today=new Date().formatString("drawing.YYYY.0MM.
0DD..hh.mm.ss");
 window._bitmap=new Date().formatString("drawing.YYYY.0MM.
0DD..hh.mm.ss.jpg");
 }}>><<newTiddler
 title: {{_today}}
 label:"new paint"
 prompt:"create a new bitmap tiddler"
 text:{{
   '[img['+_bitmap+']]\n' +
   '<<LaunchApplication "edit this bitmap" "click" "' + _bitmap + '">
\>';
 }}
 tag: "paint">>

On Dec 7, 11:54 am, BramChen <[EMAIL PROTECTED]> wrote:
> <<tiddler __dummy with:{{
>   window._today=new Date().formatString("bitmap YYYY-0MM-0DD");
>   window._bitmap=new Date().formatString("bitmapYYYY-0MM-0DD.bmp");
>   }}>><<newTiddler
>   title: {{_today}}
>   label:"new paint"
>   prompt:"create a new bitmap tiddler"
>   text:{{
>     '<<tiddler [['+_bitmap+']]>\>\n' +
>     '<<LaunchApplication "edit this bitmap" "' + _bitmap + '">\>';
>   }}
>   tag: "paint">>
>
> enjoy,
>
> --
> Bram Chenhttp://ptw.sf.net/
>
> On 12月6日, 上午7時09分, Dave Parker <[EMAIL PROTECTED]> wrote:
>
> > woops, I timed out, here it is again
>
> > okay, I think I may have found something close to what I need:
>
> > <<newJournal
> >     "bitmap YYYY-0MM-0DD"
> >     label:"new paint"
> >     prompt:"create a new bitmap tiddler"
> >     text:{{"<<tiddler [["bitmap YYYY-0MM-0DD"]]
> >         + '"' +  + '"'
> >         + ">\>" + "<<LaunchApplication "edit this bitmap" "bitmap
> > YYYY-0MM-0DD.bmp"+ ">\>"
> >     }}
> >     tag:"paint"
>
> > but I get an "error in macro <<newJournal>>" which I assume is from
> > improper quotes use, but not too sure.  Also I'm not  sure if
> > launching something that doesn't exist will give me the option to
> > create it.
>
> > any ideas?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to