Awesome !!

So what is the difference in methodology between a inline script & a
macro -.-
. . . and where does each have it's place?

Just curious when I should use each - (I am planning on playing with
both)

Thanks,

Mike

On Mar 19, 5:13 pm, Eric Shulman <[email protected]> wrote:
> > Is their a way to have a tiddler created silently? IE - Enter info at
> > prompt and tiddler creates, saves, and closes
>
> > <<clickify newTiddler
> >  label:'New Project'
> >  title:""
> >  tag:'fETTasks'
> >          text:{{
> >              store.getTiddlerText("ProjectTemplate", "").
> >   replace(/Project1/g, prompt("Enter Project Tag (No Spaces or special
> > characters)"))
> >          }}
>
> Using InlineJavascriptPlugin, you can create an 'onclick' script, like
> this:
>
> <script label="New Project">
>    var title='NewTiddler';
>    var txt=store.getTiddlerText("ProjectTemplate", "").replace(/
> Project1/g, prompt("Enter Project Tag (No Spaces or special
> characters)"));
>    var who=config.options.txtUserName;
>    var when=new Date();
>    var tags='fETTasks';
>    var fields={};
>    store.saveTiddler(title,title,txt,who,when,tags,fields);
> </script>
>
> enjoy,
> -e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to