Re: [tw] Re: Creating new tiddler with titles set by multiple selects

2016-08-03 Thread DesignWriteX SteveSchneider
Thanks, Mark, that did the trick. The \define newtitle()
$(color)$-$(model)$ code is new to me; I'll find that very helpful (and,
I'll add, is nicely documented at http://tiddlywiki.com/#Macros,

//steve.

On Mon, Aug 1, 2016 at 5:53 PM, 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Why do you need the temporary and invisible tiddlers to be deleted? I'm
> not sure that you need a 3rd party widget any more. New stuff has been
> added to TW5. Here's my code that leaves the temporary tiddlers hanging
> around but does it in one click. It might be possible to delete the
> temporary tiddlers as part of the process, but what is the use case? You're
> just going to need them again, right?
>
> -- Mark
>
> \define newtitle() $(color)$-$(model)$
> Color: <$select tiddler='$:/temp1'>
> Red
> Blue
> Green
> 
>
> Vehicle: <$select tiddler='$:/temp2'>
> Truck
> Sedan
> Convertible
> 
>
> <$set name=color value={{$:/temp1}}>
> <$set name=model value={{$:/temp2}}>
>
> <$button>Make new tiddler
> <$action-setfield $tiddler=<> tags="ColorVehichle" />
> <$action-navigate $to=<>/>
> 
>
> 
> 
>
>
>
> On Monday, August 1, 2016 at 1:37:16 PM UTC-7, SteveSchneider DesignWriteX
> wrote:
>>
>> (this was discussed in this thread:
>> https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/x-maketid%7Csort:relevance/tiddlywiki/FQE6CEX03Jk/rqdQmdLjBQAJ
>> )
>>
>> I've successfully created new tiddlers with titles set to the
>> concatenated results of two selects. However, it takes me four clicks
>> (including deleting a temporary tiddler).
>>
>> Here is my implementation:
>> https://dl.dropbox.com/s/ep3i0ylqxx8btxx/naming-a-new-tiddler.html?dl=0
>>
>> Any ideas of how to reduce the number of clicks (ideally, to one button).
>>
>> Thanks!
>>
>> //steve.
>>
>> Here's the code:
>> * Objective: Create a new tiddler with the name derived from two selects,
>> with fewer than four clicks
>> * Requires: maketid plugin from http://gwiz-beta.tiddlyspot.com/#
>> 
>> <$button>
>> <$action-deletetiddler $tiddler="$:/temp1"/>
>> <$action-deletetiddler $tiddler="$:/temp2"/>
>> One - delete temporary tiddlers
>> 
>>
>> Color: <$select tiddler='$:/temp1'>
>> Red
>> Blue
>> Green
>> 
>>
>> Vehicle: <$select tiddler='$:/temp2'>
>> Truck
>> Sedan
>> Convertible
>> 
>>
>>
>> <$button>
>> <$x-maketid  $title="Temporary"
>> tiddlertitle={{$:/temp1}} $navigate="hide"/>
>> Two - create temporary tiddler and field:tiddlertitle
>> 
>> <$button>
>> <$action-listops $tiddler="Temporary" $field="tiddlertitle"
>> $subfilter={{$:/temp2}}/>
>> Three - append value to temporary field
>> 
>> <$button>
>> <$x-maketid $title={{Temporary!!tiddlertitle}}  tags="ColorVehicles"  />
>> <$action-deletetiddler $tiddler="Temporary"/>
>> Four - create desired tiddler with tags, delete temporary tiddler
>> 
>>
>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/LtMpKgnGO68/unsubscribe.
> To unsubscribe from this group and all its topics, 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/0de17562-07f6-46bb-9a97-8a198b9ca211%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
DesignWriteX is the administrative account for {{DesignWrite}}, the
Designing and Writing Interactive Texts learning community.

http://bit.do/designwrite
Coordinator: Steve Schneider, st...@sunyit.edu

-- 
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/CALqRa%2BJEOdgS4npyxYUPGw8nMxmbvrS01Ouuwx8PwYDoT6woyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Using jQuery to fetch JSON (tiddlers) directly from Google Sheets?

2016-04-29 Thread DesignWriteX SteveSchneider
Hey folks, this all looks very intriguing, and I hope to work with it in
the next week or two. What it makes possible is, among other things,
allowing individuals to write tiddlers from google forms, and allowing all
many ifttt.com channels to write tiddlers by appending rows to google
spreadsheets (thus allowing one to "tweet into their tiddlywiki") among
other things. Thanks for this work; I look forward to exploring it, and
will post some examples here once I've built them... //steve.

On Tue, Apr 26, 2016 at 3:29 AM, Jeremy Ruston 
wrote:

> Hi Sini-Kit
>
> Hi! Test button don't work. I try in IE and Chrome. google sheets API use
> keys. So all the examples on .NET and Java (server need). But  we can add
> information to table without keys using google forms and connecting them to
> google sheets, but we cant delete or modify old, and BUT we can add new
> version of tiddler to google sheets without deleting old, and render in TW5
> only last variant of tiddler. Our table will be great, it will be nice to
> have way to delete old variants…
>
>
> Just to add that I think this approach of using Google Sheets for tiddler
> storage is a terrific idea, and would love to see this happen.
>
> Best wishes
>
> Jeremy
>
>


-- 
DesignWriteX is the administrative account for {{DesignWrite}}, the
Designing and Writing Interactive Texts learning community.

http://bit.do/designwrite
Coordinator: Steve Schneider, st...@sunyit.edu

-- 
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/CALqRa%2BJkhxxoMRYqFUEfYgN6AW2Obgtm6RuxPauWeQE8Oqk2Zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.