[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-15 Thread @TiddlyTweeter
Ciao Mark S.

Mark S. wrote:
>
> This code should do almost exactly what you want (except it goes from 000 
> to 099 instead of 001 to 100. You could always just rename 000 to 100 (plus 
> caption):
>

Thanks! Hits the spot directly. The first being "000" is not a problem. I 
might even keep it as the Title Page and just manually add "100".
 

> If it is factually useful to you, please consider donating 1€ to Pmario (
> https://www.paypal.me/PMarioJo).
>

I do like that people are asking for money a bit more. The solution is 
worth more than a Euro! Was that a typo? 

And where is YOUR tip-spot? 

FWIW I quite like Amazon wish-lists for lower level gifts (5€ -> 50€) ... 
its nice to send something tangible. 

Best wishes & thanks
Josiah
 

>
> \define composedtitle() $(base)$ 0$(ten)$$(one)$
> \define caption() Minute-0$(ten)$$(one)$
> ''Base title'': <$edit-text tiddler="$:/state/new-tiddler-title" tag=
> "input" default=""/> 
> ''Tag'': <$edit-text tiddler="$:/state/new-tiddler-tag" tag="input" 
> default=""/> 
>
> <$button> Create 100 copies of title 
> <$list filter="0 1 2 3 4 5 6 7 8 9" variable="ten">
> <$list filter="0 1 2 3 4 5 6 7 8 9" variable="one">
> <$vars base={{$:/state/new-tiddler-title}}> 
> <$action-createtiddler $basetitle=<> tags={{$:/state/new-
> tiddler-tag}} caption=<> /> 
> 
> 
> 
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3adcd731-363d-4e56-ab73-641f56c8d06c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-15 Thread @TiddlyTweeter
Thanks Stef

I do appreciate the step. Mark wrote a finished solution.

Best wishes
Josiah

ste...@gmail.com wrote:
>
> You could try something like:
> <$button>
> <$list filter="[all[shadows]limit[100]]">
> <$action-createtiddler $basetitle="My new tiddler"/>
> 
> Create 100 tiddlers 
>
> Please note that this just meant as a starting point ...
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c3d4f3c-28d9-4a86-87e4-ca32e467d96a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-15 Thread @TiddlyTweeter
Ciao SteveSuny

Thanks for the XLSX reminder! 

In this case, just creating *empty *tiddlers, Mark S.' solution is easier. 

Best wishes
Josiah

stevesuny wrote:
>
> Yes, I do this all the time using the xlsx importer, and building the 
> tiddlers in a spreadsheet. That way, you can use the spreadsheet features 
> to increment tiddler name, manage tags, etc. 
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7eff8df5-d203-498c-985c-c1dd1935e135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-14 Thread 'Mark S.' via TiddlyWiki
This code should do almost exactly what you want (except it goes from 000 
to 099 instead of 001 to 100. You could always just rename 000 to 100 (plus 
caption):

This took about 35 minutes to write (well, it should have been 15 minutes, 
but I digress). If it is factually useful to you, please consider donating 1
€ to Pmario (https://www.paypal.me/PMarioJo).

\define composedtitle() $(base)$ 0$(ten)$$(one)$
\define caption() Minute-0$(ten)$$(one)$
''Base title'': <$edit-text tiddler="$:/state/new-tiddler-title" tag="input" 
default=""/> 
''Tag'': <$edit-text tiddler="$:/state/new-tiddler-tag" tag="input" default=
""/> 

<$button> Create 100 copies of title 
<$list filter="0 1 2 3 4 5 6 7 8 9" variable="ten">
<$list filter="0 1 2 3 4 5 6 7 8 9" variable="one">
<$vars base={{$:/state/new-tiddler-title}}> 
<$action-createtiddler $basetitle=<> tags={{$:/state/new-
tiddler-tag}} caption=<> /> 






Have fun,
Mark

On Sunday, January 14, 2018 at 9:01:54 AM UTC-8, @TiddlyTweeter wrote:
>
> Cari tutti
>
> I'm wondering if anyone has made a bulk Tiddler Population Maker (TPM)?
>
> Here is a Use Case...
>
> *STORYBOARDING*
>
> 1 - You need 100 Tiddlers creating to cover the main scenes of a movie. 
> You need them all in advance because you may be writing main scene 037 well 
> before you write scene 001 but you need to see it in context.
>
> 2 - The NAMING of them can be as simple as "TITLE xxx" where xxx = from 
> 001 to 100 and Title = user input.
>
> 3 - It would be a bonus to be able to create a CAPTION field at the same 
> time that is "Minute xxx" where xxx = (the same numbering as 2) from 001 to 
> 100.
>
> 4 - It would be a great bonus to be able to add a TAG to all 100 like 
> "TAG" where TAG = user input.
>
> Maybe its been done already?
>
> Many thanks for any pointers or assistance.
>
> Best wishes
> Josiah
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b93ca442-c6ca-48a2-bfec-cbfb1665aa46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-14 Thread stefct4
Hi Josiah, 

On Sunday, January 14, 2018 at 6:01:54 PM UTC+1, @TiddlyTweeter wrote:
>
> I'm wondering if anyone has made a bulk Tiddler Population Maker (TPM)?
>

You could try something like:
<$button>
<$list filter="[all[shadows]limit[100]]">
<$action-createtiddler $basetitle="My new tiddler"/>

Create 100 tiddlers 

Please note that this just meant as a starting point, not a finished 
solution. Adding tags and modifying the title via user input should be 
easy. I'm not sure how to go about the "minute" caption field, however. 
Also, I'm not sure how to add leading zeros to the numbers in the title (if 
those are a requirement). 

This requires your TiddlyWiki to have at least 100 shadow tiddlers (which 
should normally be the case).

Cheers,

Stef

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2627f81f-1516-484d-b34c-73a9412ebb00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Query: Has anyone made a BULK Tiddler Creator?

2018-01-14 Thread stevesuny
Yes, I do this all the time using the xlsx importer, and building the 
tiddlers in a spreadsheet. That way, you can use the spreadsheet features 
to increment tiddler name, manage tags, etc. 

xlsx import tool is an incredibly powerful way to generate multi tiddlers.

One trick: use a columnn of the spreadsheet to generate a trancslusion to a 
"text" tiddler. For example, in the row for tiddler SCENE-037, create a 
cell whose value is "{{text-SCENE-037}}" (using the spreadsheet concatenate 
function). This way, you can create a template for SCENE tiddlers 
transcluding {{text-SCENE-037}} into [[SCENE-037]]. If you need to 
rename/renumber/modify your SCENE tiddlers, you can import again without 
losing your [[text-SCENE-*]] tiddlers

If this isn't clear, let me know. I'll find an example where I do this and 
share it here.

//steve.


On Sunday, January 14, 2018 at 12:01:54 PM UTC-5, @TiddlyTweeter wrote:
>
> Cari tutti
>
> I'm wondering if anyone has made a bulk Tiddler Population Maker (TPM)?
>
> Here is a Use Case...
>
> *STORYBOARDING*
>
> 1 - You need 100 Tiddlers creating to cover the main scenes of a movie. 
> You need them all in advance because you may be writing main scene 037 well 
> before you write scene 001 but you need to see it in context.
>
> 2 - The NAMING of them can be as simple as "TITLE xxx" where xxx = from 
> 001 to 100 and Title = user input.
>
> 3 - It would be a bonus to be able to create a CAPTION field at the same 
> time that is "Minute xxx" where xxx = (the same numbering as 2) from 001 to 
> 100.
>
> 4 - It would be a great bonus to be able to add a TAG to all 100 like 
> "TAG" where TAG = user input.
>
> Maybe its been done already?
>
> Many thanks for any pointers or assistance.
>
> Best wishes
> Josiah
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11a0f333-0f17-4c39-a03e-70cf67aad8f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.