[tw] Re: [TW5] slider / reveal widget reset only on opening tiddler?

2016-04-03 Thread Dave
Thanks Hegart, maybe I can use that to make a button that "resets" all the 
reveal widgets from the menu or something.  That would work.  :)

On Sunday, April 3, 2016 at 7:21:42 PM UTC-6, Hegart Dmishiv wrote:
>
> Hi Dave,
>
> This sounds like an issue of TW state persistence, which was discussed a 
> while ago and a solution suggested here 
> .
>
> Hope this helps,
>
> Hegart.
>
> On Monday, 4 April 2016 13:12:45 UTC+12, Dave wrote:
>>
>> Consider this reveal widget:
>>
>> \define sb(c)
>>
>> <$reveal  type="nomatch" text="" default="" state="$:/state/myslider$c$" 
>> text="show">
>> <$button set="$:/state/myslider$c$" setTo="show">.
>> 
>> <$reveal type="match" state="$:/state/myslider$c$" default=""  text="show
>> ">
>> <$button set="$:/state/myslider$c$" setTo="hide">-
>>
>> $c$
>>
>> 
>> \end
>>
>> The state of the tiddler is kept in "$:/state/myslider$c$" and if you 
>> open other sliders with different content in the same tiddler it will stay 
>> open, unaffected by other <> instances
>>
>> That's the behaviour I'm looking for, but if you close that tiddler and 
>> reopen it, they will be in the same state that you left them.
>>
>>
>> What I'd like to happen is for them to stay open (unless clicked closed) 
>> while the tiddler is showing, but reset to closed the next time you open 
>> that tiddler.
>>
>> * Is there a transient variable or tiddler that only exists while the 
>> tiddler is open (like a /tmp/file in linux that disappears on reboot) but 
>> then goes away when closed that I can assign the reveal widget state to so 
>> I can get this behaviour?
>> * Otherwise is there a way to trigger the state to clear once the tiddler 
>> is closed?
>>
>>
>> Thanks, 
>> Dave
>>
>

-- 
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/176b044e-c7ba-4338-ab57-62a169524117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] padding above and below title/toolbar

2016-04-03 Thread Dave
Here's something weird; when I put in this:

.tc-tiddler-frame {padding-top:2px;}



it works on all tiddlers, but when I put in this

.tc-tagged-slide .tc-tiddler-frame {padding-top:2px;}


it doesn't work on anything, even though this does affect only the tiddlers 
tagged "slide":

.tc-tagged-slide .tc-tiddler-body {font-size:200%;line-height:100%; }



Any suggestions?

On Sunday, April 3, 2016 at 8:12:42 PM UTC-6, Birthe C wrote:
>
> Hi Dave
>
> For the padding above
>
> .tc-tiddler-frame {padding-top:2px;}
>
>
> Birthe
>
>

-- 
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/f7b9ac67-4fcd-41c4-90b6-150e47c7ce55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: triggering action widgets

2016-04-03 Thread Stacy Cunningham
I wanted to post because I wanted something non-button with the Action 
Widgets and I ended up solving it. So then it'd be helpful to someone else 
(or me again, in needing to look this up again in the future!).

I wanted to be able to use action-setfield with the Link widget. I added 
this.invokeActions(event);

to be the first line of handleClickEvent in $:/core/modules/widgets/link.js 
and it works like a charm.


All the best,
Stacy


On Sunday, January 4, 2015 at 4:58:49 AM UTC-5, Neil Griffin wrote:
>
> Hi all,
>
> The documentation for ActionWidgets on tiddlywiki.com describes the 
> <$button> widget as an example of a widget that can trigger an action 
> widget.  Am I right in thinking that currently it is the *only* way to 
> trigger an action?  I was hoping to be able to use a <$select> widget to 
> trigger an action-setfield whenever the selected value is changed, but this 
> does not seem to work.
>
> Before I either start implementing a sub-optimal alternative, or 
> attempting to write my own modified widget, does anyone know if there might 
> be an existing solution? Failing that, how hard would it be to add this 
> feature to the <$select> widget (for someone with no experience in 
> modifying widgets, but with a can-do attitude)?
>
> Thanks,
>
> Neil.
>

-- 
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/6b87173a-2c5b-483d-9434-bfdd0a5483d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] padding above and below title/toolbar

2016-04-03 Thread 'Birthe C' via TiddlyWiki
Hi Dave

For the padding above

.tc-tiddler-frame {padding-top:2px;}


Birthe

-- 
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/0116e38d-16fc-437a-bbfd-5bd548114afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] slider / reveal widget reset only on opening tiddler?

2016-04-03 Thread Hegart Dmishiv
Hi Dave,

This sounds like an issue of TW state persistence, which was discussed a 
while ago and a solution suggested here 
.

Hope this helps,

Hegart.

On Monday, 4 April 2016 13:12:45 UTC+12, Dave wrote:
>
> Consider this reveal widget:
>
> \define sb(c)
>
> <$reveal  type="nomatch" text="" default="" state="$:/state/myslider$c$" 
> text="show">
> <$button set="$:/state/myslider$c$" setTo="show">.
> 
> <$reveal type="match" state="$:/state/myslider$c$" default=""  text="show
> ">
> <$button set="$:/state/myslider$c$" setTo="hide">-
>
> $c$
>
> 
> \end
>
> The state of the tiddler is kept in "$:/state/myslider$c$" and if you 
> open other sliders with different content in the same tiddler it will stay 
> open, unaffected by other <> instances
>
> That's the behaviour I'm looking for, but if you close that tiddler and 
> reopen it, they will be in the same state that you left them.
>
>
> What I'd like to happen is for them to stay open (unless clicked closed) 
> while the tiddler is showing, but reset to closed the next time you open 
> that tiddler.
>
> * Is there a transient variable or tiddler that only exists while the 
> tiddler is open (like a /tmp/file in linux that disappears on reboot) but 
> then goes away when closed that I can assign the reveal widget state to so 
> I can get this behaviour?
> * Otherwise is there a way to trigger the state to clear once the tiddler 
> is closed?
>
>
> Thanks, 
> Dave
>

-- 
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/80aaade0-efb1-4412-b5fc-f7ed1c1dbf4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] slider / reveal widget reset only on opening tiddler?

2016-04-03 Thread Dave
Consider this reveal widget:

\define sb(c)

<$reveal  type="nomatch" text="" default="" state="$:/state/myslider$c$" 
text="show">
<$button set="$:/state/myslider$c$" setTo="show">.

<$reveal type="match" state="$:/state/myslider$c$" default=""  text="show">
<$button set="$:/state/myslider$c$" setTo="hide">-

$c$


\end

The state of the tiddler is kept in "$:/state/myslider$c$" and if you open 
other sliders with different content in the same tiddler it will stay open, 
unaffected by other <> instances

That's the behaviour I'm looking for, but if you close that tiddler and 
reopen it, they will be in the same state that you left them.


What I'd like to happen is for them to stay open (unless clicked closed) 
while the tiddler is showing, but reset to closed the next time you open 
that tiddler.

* Is there a transient variable or tiddler that only exists while the 
tiddler is open (like a /tmp/file in linux that disappears on reboot) but 
then goes away when closed that I can assign the reveal widget state to so 
I can get this behaviour?
* Otherwise is there a way to trigger the state to clear once the tiddler 
is closed?


Thanks, 
Dave

-- 
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/7c527d95-573c-4d70-9f76-ea8df9de4502%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] padding above and below title/toolbar

2016-04-03 Thread Dave
.tc-tagged-slide .tc-title {display:none}

that just gets rid of the title in that line but does not change the 
padding above or below it (and the toolbar is still there)

Maybe instead of searching for "padding" I should search for the term 
"margin"...

Thanks for the suggestion though :)

On Sunday, April 3, 2016 at 5:44:49 PM UTC-6, Mat wrote:
>
> See if property...
>
> display:none;
>
> solves your problem.
>
> > What should be my google search, or just search terms in this group or 
> on Tiddlywiki.com to find out stuff like this?
>  I tried "css toolbar padding", "viewtemplate padding" e.g. but came 
> up empty handed.
>
> Yea, docs on styling TW is pretty much lacking. CSS is really a big topic 
> in itself but it's also that TW has so many style deffinitions that we'd 
> need a radically different approach to simplify for users to manipulate 
> them. Fellow Jed made a prototype on the matter and I'm currently working 
> on a completely other idea but it's not ready for publication yet. (If you 
> contact me privately I could send you a prototype, but it is part of a 
> greater concept there).
>
> <:-)
>

-- 
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/c0c4b81e-267c-487b-9e88-20976f1a6fe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Abbreviations for Tiddler links

2016-04-03 Thread Mat
Alain Dutechs recent creation 


<:-)

-- 
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/1a80735d-b306-474a-a300-31732311c869%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] padding above and below title/toolbar

2016-04-03 Thread Mat
See if property...

display:none;

solves your problem.

> What should be my google search, or just search terms in this group or on 
Tiddlywiki.com to find out stuff like this?
 I tried "css toolbar padding", "viewtemplate padding" e.g. but came up 
empty handed.

Yea, docs on styling TW is pretty much lacking. CSS is really a big topic 
in itself but it's also that TW has so many style deffinitions that we'd 
need a radically different approach to simplify for users to manipulate 
them. Fellow Jed made a prototype on the matter and I'm currently working 
on a completely other idea but it's not ready for publication yet. (If you 
contact me privately I could send you a prototype, but it is part of a 
greater concept there).

<:-)

-- 
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/e6e7530e-38f9-404b-8225-a9ff0dfb85d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
That's awesome! I had to look up the each Operator 
 to find out how to use it. It 
seems to have resolved both the uniqueness and the absence issues together, 
in one hit. Here's what I've got now in our main playground 


<>

This is working out great. Thanks! Once I get up to the stage of making the 
result of one combobox update the options of another, I'll let you know how 
we go with it.

Hegart.


On Monday, 4 April 2016 10:49:15 UTC+12, Eric Shulman wrote:
>
> On Sunday, April 3, 2016 at 3:15:49 PM UTC-7, Hegart Dmishiv wrote:
>>
>> Thanks for the explanation, Eric. I'm really excited by what you've 
>> produced here. I've got a working example of it so far in my SampleData 
>> playground, here 
>> .
>>  
>> I still need to overcome these issues with it though:
>>
>>- To populate the options from any given field, not just the title 
>>field.
>>
>> That is actually controlled by the "template" parameter (currently 
> *undocumented*).  The default value is template="<>", which 
> shows the tiddler's caption text, with a fallback to the title if no 
> caption is present.  You can use this param to show other fields, like this:
>
> template="{{!!fieldname}}"
>
> Note how the value is enclosed in quotes, so that the inner syntax is NOT 
> parsed, but simply passed along to be used as the 'template' for outputting 
> each list item.
>
>>
>>- To populate the options only with unique/distinct values from the 
>>given field.
>>
>>
> That can be controlled by the filter param.  You would need to use the 
> each[] filter to get unique values. 
>
>>
>>- To ignore any options that do not contain the given field.
>>
>> Again, that is an aspect of the filter you specify.   
>
> These are all probably more to do with my use case, rather than your macro 
>> though. Also, I look forward to later using the *okaction:* parameter to 
>> set the *filter:* parameter of a subequent *<>* invocation 
>> using a filter stored in a tiddler field. I understand from previous advice 
>> you've given me on this subject, that I'll then need to use a 
>> *<$macrocall>* widget for that, rather than a *<>* invocation. 
>> I'll let you know how it goes. Happy to beta-test this for you! ;-)
>>
>
> Yes, exactly.  The $macrocall widget allows you to use variables and/or 
> references as macro parameter values.   Thus, you could write something 
> like:
>
> <>
> <$macrocall name="combobox" tiddler="$:/_temp/target" 
> filter={{$:/_temp/currentfilter}}/>
>
> (above is untested)
>
> give it a try and let me know how it goes...
>
>
> -e
>
>

-- 
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/0fa12ce2-6114-4514-8552-9364f9eaae14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Eric Shulman
On Sunday, April 3, 2016 at 3:15:49 PM UTC-7, Hegart Dmishiv wrote:
>
> Thanks for the explanation, Eric. I'm really excited by what you've 
> produced here. I've got a working example of it so far in my SampleData 
> playground, here 
> .
>  
> I still need to overcome these issues with it though:
>
>- To populate the options from any given field, not just the title 
>field.
>
> That is actually controlled by the "template" parameter (currently 
*undocumented*).  The default value is template="<>", which 
shows the tiddler's caption text, with a fallback to the title if no 
caption is present.  You can use this param to show other fields, like this:

template="{{!!fieldname}}"

Note how the value is enclosed in quotes, so that the inner syntax is NOT 
parsed, but simply passed along to be used as the 'template' for outputting 
each list item.

>
>- To populate the options only with unique/distinct values from the 
>given field.
>
>
That can be controlled by the filter param.  You would need to use the 
each[] filter to get unique values. 

>
>- To ignore any options that do not contain the given field.
>
> Again, that is an aspect of the filter you specify.   

These are all probably more to do with my use case, rather than your macro 
> though. Also, I look forward to later using the *okaction:* parameter to 
> set the *filter:* parameter of a subequent *<>* invocation 
> using a filter stored in a tiddler field. I understand from previous advice 
> you've given me on this subject, that I'll then need to use a 
> *<$macrocall>* widget for that, rather than a *<>* invocation. 
> I'll let you know how it goes. Happy to beta-test this for you! ;-)
>

Yes, exactly.  The $macrocall widget allows you to use variables and/or 
references as macro parameter values.   Thus, you could write something 
like:

<>
<$macrocall name="combobox" tiddler="$:/_temp/target" 
filter={{$:/_temp/currentfilter}}/>

(above is untested)

give it a try and let me know how it goes...


-e

-- 
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/7b1d97c5-1dc9-45dd-ac8d-5e8756edd28d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
Thanks for the explanation, Eric. I'm really excited by what you've 
produced here. I've got a working example of it so far in my SampleData 
playground, here 
.
 
I still need to overcome these issues with it though:

   - To populate the options from any given field, not just the title field.
   - To populate the options only with unique/distinct values from the 
   given field.
   - To ignore any options that do not contain the given field.

These are all probably more to do with my use case, rather than your macro 
though. Also, I look forward to later using the *okaction:* parameter to 
set the *filter:* parameter of a subequent *<>* invocation using 
a filter stored in a tiddler field. I understand from previous advice 
you've given me on this subject, that I'll then need to use a *<$macrocall>* 
widget for that, rather than a *<>* invocation. I'll let you know 
how it goes. Happy to beta-test this for you! ;-)

Hegart.



On Monday, 4 April 2016 09:56:24 UTC+12, Eric Shulman wrote:
>
> On Sunday, April 3, 2016 at 2:14:06 PM UTC-7, Hegart Dmishiv wrote:
>>
>> Hi again Eric,
>>
>> Your LegalStatements tiddler  
>> advises that any modifications of your code should best be handled as a 
>> feature request. I haven't dug deep enough yet to be making such a request, 
>> but I thought it might be useful to know in advance if there is a GitHub 
>> repository for this macro, so that any issues can be raised there?
>>
>> Hegart.
>>
>
> As previously noted, I haven't officially published any of the stuff you 
> are looking at.   I've been using a single-file TW5 configuration to 
> develop and implement all my new TW5 add-ons, so there are no individual 
> .tid files to commit to a repo.  The whole document *is* stored on github 
> (at the URL I posted), so you could, in theory, make requests there.
>
> However... the URL I provided is not intended as a general distribution 
> point for the add-ons.  Instead, it's a working prototype for the 
> TiddlyBook "edition" I am developing and simply uses the combobox macro as 
> part of it's implementation, so I'd rather not have individual issues 
> posted there.
>
> I *am* building a new TiddlyTools document to officially publish my work, 
> but there's still a few things I need to do before that will be ready. 
>  This includes renaming and refactoring tiddlers, creating plugin 
> "bundles", and generating separate .tid files (so they CAN be individually 
> comitted and tracked in a github repo).
>
> -e
>

-- 
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/754b6bd7-0145-4818-b967-b718e8d204bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Eric Shulman
On Sunday, April 3, 2016 at 2:14:06 PM UTC-7, Hegart Dmishiv wrote:
>
> Hi again Eric,
>
> Your LegalStatements tiddler  
> advises that any modifications of your code should best be handled as a 
> feature request. I haven't dug deep enough yet to be making such a request, 
> but I thought it might be useful to know in advance if there is a GitHub 
> repository for this macro, so that any issues can be raised there?
>
> Hegart.
>

As previously noted, I haven't officially published any of the stuff you 
are looking at.   I've been using a single-file TW5 configuration to 
develop and implement all my new TW5 add-ons, so there are no individual 
.tid files to commit to a repo.  The whole document *is* stored on github 
(at the URL I posted), so you could, in theory, make requests there.

However... the URL I provided is not intended as a general distribution 
point for the add-ons.  Instead, it's a working prototype for the 
TiddlyBook "edition" I am developing and simply uses the combobox macro as 
part of it's implementation, so I'd rather not have individual issues 
posted there.

I *am* building a new TiddlyTools document to officially publish my work, 
but there's still a few things I need to do before that will be ready. 
 This includes renaming and refactoring tiddlers, creating plugin 
"bundles", and generating separate .tid files (so they CAN be individually 
comitted and tracked in a github repo).

-e

-- 
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/3efdfec7-484b-495d-a01b-b3f9b84cbe0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] padding above and below title/toolbar

2016-04-03 Thread Dave
Hello,

I have a custom stylesheet:

.tc-tagged-slide .tc-title { font-size:20%;line-height: 9px;color:white}

.tc-tagged-aside .tc-title { font-size:20%;line-height: 9px;color:white}

.tc-titlebar button {
opacity: 0;
}

.tc-titlebar:hover button {
opacity: 1;
}

... that on tiddlers tagged "slide" and "aside" makes the title invisible 
(by making it white font (on a white background))

with the hidden titlebar (toolbar icons) that leaves a lot of white space 
above the main text area (this is for a "powerpoint" presentation) that I'd 
like to get rid of.


A)  How would I modify the space immediately above and below that toolbar 
for tiddlers with those tags, and

B)  What should be my google search, or just search terms in this group or 
on Tiddlywiki.com to find out stuff like this?
 I tried "css toolbar padding", "viewtemplate padding" e.g. but came up 
empty handed.


Thanks,
Dave

-- 
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/6229b150-4b03-41c3-b5e0-0956714aed74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
Hi again Eric,

Your LegalStatements tiddler  
advises that any modifications of your code should best be handled as a 
feature request. I haven't dug deep enough yet to be making such a request, 
but I thought it might be useful to know in advance if there is a GitHub 
repository for this macro, so that any issues can be raised there?

Hegart.


On Monday, 4 April 2016 08:36:24 UTC+12, Hegart Dmishiv wrote:
>
> Hi Eric,
>
> Here's what I've got so far, after just a few minutes of playing with your 
> macro. It replicates my *<$select>* widget example above, but using your 
> *<>* macro instead...
>
> <>
>
> What I'd like to know now is how to use the *filter:* parameter to 
> specify only the unique values of the "city" field for each tiddler that is 
> tagged as  foobar , and to ignore those tiddlers returned by the filter 
> that don't contain a "city" field. How would I go about doing that?
>
> Hegart.
>
>
> On Sunday, 3 April 2016 23:09:47 UTC+12, Eric Shulman wrote:
>>
>> On Sunday, April 3, 2016 at 3:40:11 AM UTC-7, Hegart Dmishiv wrote:
>>>
>>> Hi all,
>>>
>>> I have finally mastered the *<$select>* widget, but it has left me 
>>> wanting a *<$combobox>* widget as well.I know we have the original 
>>> inventor of the combobox itself, lurking around here somewhere, hehe.
>>>
>>
>> Ok here's my ComboBox macro (note: this is NOT officially 
>> published yet, and is subject to change without regard to 
>> backward-compatibility.
>>
>>
>> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox
>>
>> and here's some (preliminary) documentation:
>>
>>
>> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo
>>
>> The combo box appears as a basic text input field, except that when you 
>> mouse over it, a down arrow button appears, allowing you to display a list 
>> of items to select from (using a filter you specify as a macro parameter). 
>>  Depending upon optional parameters, you can have the list also appear as 
>> soon as you begin to type into the input field, and also have the list 
>> progressively filtered to only items that 'match' the current input value.
>>
>> In addition to the basic edit/list combination, the macro also permits 
>> you to specify an "okaction" parameter (see examples) that performs 
>> action(s) based on the contents of the input field.  When an okaction is 
>> provided, mousing over the input field shows ok and cancel buttons in 
>> addition to the down arrow button.
>>
>> enjoy,
>> -e
>> Eric Shulman
>> TiddlyTools / ELS Design Studios
>> InsideTiddlyWiki: The Missing Manuals
>>
>> Note: the URLs above (as well as the URLs contained in the documentation 
>> itself) are not the final location for these tiddlers, and *WILL* change 
>> when published (hopefully very soon).
>>
>

-- 
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/7a5e2a16-e1bb-43a7-9592-b7ab6e2389a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
Hi Eric,

Here's what I've got so far, after just a few minutes of playing with your 
macro. It replicates my *<$select>* widget example above, but using your 
*<>* macro instead...

<>

What I'd like to know now is how to use the *filter:* parameter to specify 
only the unique values of the "city" field for each tiddler that is tagged 
as  foobar , and to ignore those tiddlers returned by the filter that don't 
contain a "city" field. How would I go about doing that?

Hegart.


On Sunday, 3 April 2016 23:09:47 UTC+12, Eric Shulman wrote:
>
> On Sunday, April 3, 2016 at 3:40:11 AM UTC-7, Hegart Dmishiv wrote:
>>
>> Hi all,
>>
>> I have finally mastered the *<$select>* widget, but it has left me 
>> wanting a *<$combobox>* widget as well.I know we have the original 
>> inventor of the combobox itself, lurking around here somewhere, hehe.
>>
>
> Ok here's my ComboBox macro (note: this is NOT officially 
> published yet, and is subject to change without regard to 
> backward-compatibility.
>
>
> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox
>
> and here's some (preliminary) documentation:
>
>
> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo
>
> The combo box appears as a basic text input field, except that when you 
> mouse over it, a down arrow button appears, allowing you to display a list 
> of items to select from (using a filter you specify as a macro parameter). 
>  Depending upon optional parameters, you can have the list also appear as 
> soon as you begin to type into the input field, and also have the list 
> progressively filtered to only items that 'match' the current input value.
>
> In addition to the basic edit/list combination, the macro also permits you 
> to specify an "okaction" parameter (see examples) that performs action(s) 
> based on the contents of the input field.  When an okaction is provided, 
> mousing over the input field shows ok and cancel buttons in addition to the 
> down arrow button.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>
> Note: the URLs above (as well as the URLs contained in the documentation 
> itself) are not the final location for these tiddlers, and *WILL* change 
> when published (hopefully very soon).
>

-- 
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/8852a415-d83d-4746-a999-82cc33b150db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Abbreviations for Tiddler links

2016-04-03 Thread Hegart Dmishiv
Hi Shay,

Have a look at this idea from Matthew Lauber 
,
 
which might be useful to you.

Hegart.


On Monday, 4 April 2016 07:36:07 UTC+12, Shay Shaked wrote:
>
> Hi guys, 
>
> so this is probably something someone figured out... 
>
> I use CamleCase a whole lot and I like it so much it became a routine form 
> to SMS my friend (I love driving them nuts with my nerdiness).. thing is, I 
> can have a long Tiddler name like LongTiddlerAboutJohnDoe (for example) but 
> typing it out 6 times in a different tiddler as a reference is 
> annoinggg. Is there a way where I could abbreviate it? In this example, 
> LTAJD will bring up that Tiddler. The way this will work is either 
> substituting the abbreviation to the long form (looks hard) or, the 
> abbreviation will automatically link to the long form tTdler.I also 
> want to be able to escape that by using ~, so when I write ~LTAJD, it will 
> *not 
> *do that. So, suggestions? Thanks!
>

-- 
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/5f872228-7239-491f-bce6-a7ac046c863e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Abbreviations for Tiddler links

2016-04-03 Thread Shay Shaked
Hi guys, 

so this is probably something someone figured out... 

I use CamleCase a whole lot and I like it so much it became a routine form 
to SMS my friend (I love driving them nuts with my nerdiness).. thing is, I 
can have a long Tiddler name like LongTiddlerAboutJohnDoe (for example) but 
typing it out 6 times in a different tiddler as a reference is 
annoinggg. Is there a way where I could abbreviate it? In this example, 
LTAJD will bring up that Tiddler. The way this will work is either 
substituting the abbreviation to the long form (looks hard) or, the 
abbreviation will automatically link to the long form tTdler.I also 
want to be able to escape that by using ~, so when I write ~LTAJD, it will *not 
*do that. So, suggestions? Thanks!

-- 
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/95028799-bd06-47c4-a16f-9737b2c3faea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-04-03 Thread Hegart Dmishiv
Hi Jeremy,

Thanks for looking into this. I have no idea where to even begin with 
trying to parse that JSON code. It reminds me of something that Mat and Jed 
were doing a while ago for the Twederation / Tiddlyverse 
.
 
Maybe this will have some use to them. Maybe, if they find it useful and 
write a parser for it, I could use the same in my semester project. Anyway, 
I think for now this is way beyond my mere skills, and I'll stick to what 
is working for me for now, even if it is a bit clunky.

Hegart.


On Monday, 4 April 2016 07:15:15 UTC+12, Jeremy Ruston wrote:
>
> Hi Hegart
>
> Professor Schneider at *{{DesignWrite}}* has recently shared a link to this 
> blog post , which 
> suggests it is possible to access the information in a Google Sheet as a 
> JSON file, by using jQuery. This looks very promising for my semester 
> project, but I have no idea how to implement it, as I am a total n00b at 
> Javascript.
>
>
> Interesting. I checked it out, creating a simple public spreadsheet. The 
> sharing works as advertised, except that the JSON format used is pretty 
> complex, but parseable.
>
> My sample spreadsheet looks like this:
>
>
> The resulting JSON is attached below. Weirdly, it doesn’t even place the 
> cells of the spreadsheet in separate entries; they’re merged together with 
> colons.
>
> Anyhow, I’m sure with a bit of research one could figure out the format 
> and get something useful out of it, but it feels a bit Google-specific 
> compared to the general utility of extending TW with the CSV import 
> facilities you need,
>
> Best wishes
>
> Jeremy.
>
> {
>   "version": "1.0",
>   "encoding": "UTF-8",
>   "feed": {
> "xmlns": "http:\/\/www.w3.org\/2005\/Atom",
> "xmlns$openSearch": "http:\/\/a9.com\/-\/spec\/opensearchrss\/1.0\/",
> "xmlns$gsx": "http:\/\/schemas.google.com
> \/spreadsheets\/2006\/extended",
> "id": {
>   "$t": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
> },
> "updated": {
>   "$t": "2016-04-03T19:02:55.541Z"
> },
> "category": [
>   {
> "scheme": "http:\/\/schemas.google.com\/spreadsheets\/2006",
> "term": "http:\/\/schemas.google.com\/spreadsheets\/2006#list"
>   }
> ],
> "title": {
>   "type": "text",
>   "$t": "Sheet1"
> },
> "link": [
>   {
> "rel": "alternate",
> "type": "application\/atom+xml",
> "href": "https:\/\/docs.google.com
> \/spreadsheets\/d\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/pubhtml"
>   },
>   {
> "rel": "http:\/\/schemas.google.com\/g\/2005#feed",
> "type": "application\/atom+xml",
> "href": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
>   },
>   {
> "rel": "http:\/\/schemas.google.com\/g\/2005#post",
> "type": "application\/atom+xml",
> "href": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
>   },
>   {
> "rel": "self",
> "type": "application\/atom+xml",
> "href": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic?alt=json"
>   }
> ],
> "author": [
>   {
> "name": {
>   "$t": "jeremy.ruston"
> },
> "email": {
>   "$t": "jeremy...@gmail.com "
> }
>   }
> ],
> "openSearch$totalResults": {
>   "$t": "3"
> },
> "openSearch$startIndex": {
>   "$t": "1"
> },
> "entry": [
>   {
> "id": {
>   "$t": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cokwr"
> },
> "updated": {
>   "$t": "2016-04-03T19:02:55.541Z"
> },
> "category": [
>   {
> "scheme": "http:\/\/schemas.google.com\/spreadsheets\/2006",
> "term": "http:\/\/schemas.google.com\/spreadsheets\/2006#list"
>   }
> ],
> "title": {
>   "type": "text",
>   "$t": "Once I"
> },
> "content": {
>   "type": "text",
>   "$t": "two: caught a , three: fish, four: alive"
> },
> "link": [
>   {
> "rel": "self",
> "type": "application\/atom+xml",
> "href": "https:\/\/spreadsheets.google.com
> \/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cokwr"
>   }
> ]
>   },
>   {
> "id": {
>   "$t": "https:\/\/spreadsheets.google.com
> 

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

2016-04-03 Thread Jeremy Ruston
Hi Hegart

> Professor Schneider at {{DesignWrite}} has recently shared a link to this 
> blog post , which 
> suggests it is possible to access the information in a Google Sheet as a JSON 
> file, by using jQuery. This looks very promising for my semester project, but 
> I have no idea how to implement it, as I am a total n00b at Javascript.

Interesting. I checked it out, creating a simple public spreadsheet. The 
sharing works as advertised, except that the JSON format used is pretty 
complex, but parseable.

My sample spreadsheet looks like this:



The resulting JSON is attached below. Weirdly, it doesn’t even place the cells 
of the spreadsheet in separate entries; they’re merged together with colons.

Anyhow, I’m sure with a bit of research one could figure out the format and get 
something useful out of it, but it feels a bit Google-specific compared to the 
general utility of extending TW with the CSV import facilities you need,

Best wishes

Jeremy.

{
  "version": "1.0",
  "encoding": "UTF-8",
  "feed": {
"xmlns": "http:\/\/www.w3.org\/2005\/Atom",
"xmlns$openSearch": "http:\/\/a9.com\/-\/spec\/opensearchrss\/1.0\/",
"xmlns$gsx": "http:\/\/schemas.google.com\/spreadsheets\/2006\/extended",
"id": {
  "$t": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
},
"updated": {
  "$t": "2016-04-03T19:02:55.541Z"
},
"category": [
  {
"scheme": "http:\/\/schemas.google.com\/spreadsheets\/2006",
"term": "http:\/\/schemas.google.com\/spreadsheets\/2006#list"
  }
],
"title": {
  "type": "text",
  "$t": "Sheet1"
},
"link": [
  {
"rel": "alternate",
"type": "application\/atom+xml",
"href": 
"https:\/\/docs.google.com\/spreadsheets\/d\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/pubhtml"
  },
  {
"rel": "http:\/\/schemas.google.com\/g\/2005#feed",
"type": "application\/atom+xml",
"href": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
  },
  {
"rel": "http:\/\/schemas.google.com\/g\/2005#post",
"type": "application\/atom+xml",
"href": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic"
  },
  {
"rel": "self",
"type": "application\/atom+xml",
"href": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic?alt=json"
  }
],
"author": [
  {
"name": {
  "$t": "jeremy.ruston"
},
"email": {
  "$t": "jeremy.rus...@gmail.com"
}
  }
],
"openSearch$totalResults": {
  "$t": "3"
},
"openSearch$startIndex": {
  "$t": "1"
},
"entry": [
  {
"id": {
  "$t": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cokwr"
},
"updated": {
  "$t": "2016-04-03T19:02:55.541Z"
},
"category": [
  {
"scheme": "http:\/\/schemas.google.com\/spreadsheets\/2006",
"term": "http:\/\/schemas.google.com\/spreadsheets\/2006#list"
  }
],
"title": {
  "type": "text",
  "$t": "Once I"
},
"content": {
  "type": "text",
  "$t": "two: caught a , three: fish, four: alive"
},
"link": [
  {
"rel": "self",
"type": "application\/atom+xml",
"href": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cokwr"
  }
]
  },
  {
"id": {
  "$t": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cpzh4"
},
"updated": {
  "$t": "2016-04-03T19:02:55.541Z"
},
"category": [
  {
"scheme": "http:\/\/schemas.google.com\/spreadsheets\/2006",
"term": "http:\/\/schemas.google.com\/spreadsheets\/2006#list"
  }
],
"title": {
  "type": "text",
  "$t": "Six"
},
"content": {
  "type": "text",
  "$t": "two: Seven, three: Eight, four: Nine, five: Ten"
},
"link": [
  {
"rel": "self",
"type": "application\/atom+xml",
"href": 
"https:\/\/spreadsheets.google.com\/feeds\/list\/1Uxon1ZBYVxTVlw5AhEFY8b6SMlrG_wAHt1mf1pXtEd4\/od6\/public\/basic\/cpzh4"
  }
]
  },
  {
"id": {
  "$t": 

Re: [tw] How do I disable the auto-backup in TD Desktop?

2016-04-03 Thread Jeremy Ruston
Hi Yahanan

I’m afraid there is currently no way to turn off the automated backups in 
TiddlyDesktop, but there is a GitHub ticket discussing the issue:

https://github.com/Jermolene/TiddlyDesktop/issues/75 


Best wishes

Jeremy.


> On 3 Apr 2016, at 12:14, Yahanan Xie  wrote:
> 
> I've been searching for a way to disable the auto-backup feature of TD 
> Desktop but can not find it. Is there a way to do this or some setting I can 
> change?
> 
> Thank you.
> 
> -- 
> 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/34d40b48-f9ec-4bb5-9cb1-3c323227edb9%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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/05670042-E6CD-4694-9F13-263D43A5DB9B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-04-03 Thread Hegart Dmishiv
Hi all,

Professor Schneider at *{{DesignWrite}}* has recently shared a link to this 
blog post , which 
suggests it is possible to access the information in a Google Sheet as a 
JSON file, by using jQuery. This looks very promising for my semester 
project, but I have no idea how to implement it, as I am a total n00b at 
Javascript.

What I was thinking for this, is perhaps synchronising a set of tiddlers of 
type *JSON data* from my Google Sheets . 
Many of my worksheets in Google are already formatted in such a way that 
they will generate TiddlyWiki tiddlers, with just the relevant column 
headings as expected by TiddlyWiki, and rows for each tiddler. I currently 
export these manually to CSV, then convert them to JSON. This new idea 
would save on those extra steps. Once I have them as *JSON data* tiddlers 
full of JSON tiddlers, I should then be able to bulk import the tiddlers 
into my wiki space from the *JSON data* tiddlers fairly easily.

This solution would be used initially to replace my cumbersome procedure 
for working with the SampleData which I'm generating for testing the 
TiddlyCRM project. This sample data gets imported and purged often. 
However, it may also have application later for the live data, if the end 
user wants to bulk-import their legacy information into TiddlyCRM.

Any advice on how to implement this would be greatly appreciated.

Kind regards,

Hegart.

-- 
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/fe13e647-fc37-4e68-8ec4-9be2ddc11353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New and making a lot of mistakes

2016-04-03 Thread Hegart Dmishiv
Hi Christopher,

Thanks for sharing a little more about your project. I see the distinction 
now: fantasy vs reality. Even so, your solution does give me pause for 
thought, and the answers you've been getting to your questions may well 
have application for what I'm doing as well. Also, your comment about being 
"half-distracted" is something I should take onboard as well, as I fully 
expect the end users of my system will be on the phone or deeply in some 
other communication with their Contact at the time they are capturing data 
into the system. So thanks again, your fantasy project may well have 
bearing on a real-world system!

Hegart.


On Monday, 4 April 2016 04:01:28 UTC+12, Christopher Londrie wrote:
>
> I think that's partly because my end goals are slightly different. I need 
> the ability to generate these while half-distracted and from specific and 
> custom lists, and then have them instantly available.  Most time I won't 
> need to generate in bulk.  This means a button I can press and dump out a 
> quick answer is perfect for running a tabletop game and needing to generate 
> a new patron for my players.  Yours feels far more heavy duty!
>
> On Saturday, April 2, 2016 at 5:28:24 PM UTC-5, Hegart Dmishiv wrote:
>>
>> Hi Christopher,
>>
>> Sorry, I don't have any answers for your questions, but I just wanted to 
>> say that I was impressed with what you've done here. I've spent the last 
>> week or two trying to achieve something similar, except I'm using a 
>> Google Sheets spreadsheet 
>> 
>>  
>> as my source data, and creating pseudo-random company tiddlers 
>> ,
>>  
>> with pseudo-random contact details, employees, and just today I've added 
>> individual communications with those companies, as per the screenshot 
>> example below.
>>
>>
>> 
>> I'm doing this for my *{{DesignWrite}}* 
>>  
>> semester 
>> project 
>> ,
>>  
>> TiddlyCRM 
>> .
>>  
>> I hadn't considered using TobiBeer's *random[ ]* filter plugin for this 
>> before. I guess the main difference between your solution and mine is that 
>> you have to have the tiddlers in your wiki first to create new random ones 
>> from them. Mine starts with a completely blank TiddlyWiki, and I just 
>> import the tiddlers from JSON files, via the CSV to JSON converter 
>> , from the spreadsheet. 
>> Interesting to see a different approach to this. Thanks for sharing.
>>
>> Hegart.
>>
>>
>>
>> On Sunday, 3 April 2016 09:49:29 UTC+12, Christopher Londrie wrote:
>>>
>>> I'm able to do this at all thanks to Tobias Beer's really easy to use 
>>> "Random" plugin. http://tobibeer.github.io/tw5-plugins/#random
>>>
>>>  
>>> 
>>>
>>> 
>>> <$set name="FirstName" 
>>> filter="[prefix[GenSource:]tag[Corp]tag[FirstName]field[corpname]random[]]">
>>>
>>> 
>>> <$set name="LastName" 
>>> filter="[prefix[GenSource:]tag[Corp]tag[LastName]field[corpname]random[]]">
>>>
>>> 
>>> 
>>> Name  <>
>>> 
>>>
>>> 
>>> <$button>Generate Corp
>>> <$action-sendmessage $message="tm-new-tiddler" 
>>> title="Corp:"<> tags="Corp Corp:<>-<>"/>
>>> 
>>> 
>>>
>>> This is my current batch of code, I've got it partially working but am 
>>> stumped on a few things:
>>>
>>> 1) If I remove the field[corpname] I'm able to successfully pull the 
>>> titles of the GenSource: tiddler(s), however with it, I get null as a 
>>> result, I've made absolutely sure that I've made no spelling mistakes and 
>>> the GenSource tiddler does indeed have that field, am I specifying this 
>>> wrong?
>>>
>>> 2) How do I properly insert tags using the variables, they're considered 
>>> literal inside the quotes, and ignored outside of them.
>>>
>>> 3) Am I going about this in an absurd manner?
>>>
>>

-- 
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/6949cd15-bdd0-4538-ac55-b0e40cc2d768%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New and making a lot of mistakes

2016-04-03 Thread Christopher Londrie
I think that's partly because my end goals are slightly different. I need 
the ability to generate these while half-distracted and from specific and 
custom lists, and then have them instantly available.  Most time I won't 
need to generate in bulk.  This means a button I can press and dump out a 
quick answer is perfect for running a tabletop game and needing to generate 
a new patron for my players.  Yours feels far more heavy duty!

On Saturday, April 2, 2016 at 5:28:24 PM UTC-5, Hegart Dmishiv wrote:
>
> Hi Christopher,
>
> Sorry, I don't have any answers for your questions, but I just wanted to 
> say that I was impressed with what you've done here. I've spent the last 
> week or two trying to achieve something similar, except I'm using a 
> Google Sheets spreadsheet 
> 
>  
> as my source data, and creating pseudo-random company tiddlers 
> ,
>  
> with pseudo-random contact details, employees, and just today I've added 
> individual communications with those companies, as per the screenshot 
> example below.
>
>
> 
> I'm doing this for my *{{DesignWrite}}* 
>  
> semester 
> project 
> ,
>  
> TiddlyCRM 
> .
>  
> I hadn't considered using TobiBeer's *random[ ]* filter plugin for this 
> before. I guess the main difference between your solution and mine is that 
> you have to have the tiddlers in your wiki first to create new random ones 
> from them. Mine starts with a completely blank TiddlyWiki, and I just 
> import the tiddlers from JSON files, via the CSV to JSON converter 
> , from the spreadsheet. 
> Interesting to see a different approach to this. Thanks for sharing.
>
> Hegart.
>
>
>
> On Sunday, 3 April 2016 09:49:29 UTC+12, Christopher Londrie wrote:
>>
>> I'm able to do this at all thanks to Tobias Beer's really easy to use 
>> "Random" plugin. http://tobibeer.github.io/tw5-plugins/#random
>>
>>  
>> 
>>
>> 
>> <$set name="FirstName" 
>> filter="[prefix[GenSource:]tag[Corp]tag[FirstName]field[corpname]random[]]">
>>
>> 
>> <$set name="LastName" 
>> filter="[prefix[GenSource:]tag[Corp]tag[LastName]field[corpname]random[]]">
>>
>> 
>> 
>> Name  <>
>> 
>>
>> 
>> <$button>Generate Corp
>> <$action-sendmessage $message="tm-new-tiddler" title="Corp:"<> 
>> tags="Corp Corp:<>-<>"/>
>> 
>> 
>>
>> This is my current batch of code, I've got it partially working but am 
>> stumped on a few things:
>>
>> 1) If I remove the field[corpname] I'm able to successfully pull the 
>> titles of the GenSource: tiddler(s), however with it, I get null as a 
>> result, I've made absolutely sure that I've made no spelling mistakes and 
>> the GenSource tiddler does indeed have that field, am I specifying this 
>> wrong?
>>
>> 2) How do I properly insert tags using the variables, they're considered 
>> literal inside the quotes, and ignored outside of them.
>>
>> 3) Am I going about this in an absurd manner?
>>
>

-- 
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/53949f62-cfe3-4e5c-aead-eaba9b1041aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New and making a lot of mistakes

2016-04-03 Thread Christopher Londrie
Most excellent and many thanks!  With those new knowledge bits I can move 
on to construct the entire thing.

On Sunday, April 3, 2016 at 8:06:12 AM UTC-5, Knut Franke wrote:
>
> On Saturday, April 2, 2016 at 11:49:29 PM UTC+2, Christopher Londrie wrote:
>>
>> 1) If I remove the field[corpname] I'm able to successfully pull the 
>> titles of the GenSource: tiddler(s), however with it, I get null as a 
>> result, I've made absolutely sure that I've made no spelling mistakes and 
>> the GenSource tiddler does indeed have that field, am I specifying this 
>> wrong?
>>
>
> As Mark said, you probably want `get[corpname]`.
>
> 2) How do I properly insert tags using the variables, they're considered 
>> literal inside the quotes, and ignored outside of them.
>>
>  
> Common pitfall. At the top of your tiddler, define a macro, like so:
>
> \define createCorpTiddler()
> <$action-sendmessage $message="tm-new-tiddler" title="Corp:$(FirstName)$" 
> tags="Corp Corp:$(FirstName$)-$(LastName$)"/>
> \end
>
> Then, inside your button, insert this macro:
>
> <$button>Generate Corp
> <>
> 
>
> Basically, you need the `$(variable)$` syntax for this kind of 
> interpolation, but that is only available in macro bodies.
>
> 3) Am I going about this in an absurd manner?
>>
>
> Dunno. Life is absurd. This bit doesn't strike me as particularly more so 
> than the rest.
>
>
> Cheers,
> Knut 
>

-- 
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/a311c7d4-3b7f-4d9d-b0e5-d47a21b8118f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: font question

2016-04-03 Thread Ákos Szederjei
Wt! That was it! Thank you very much Archizona V!!!
Back to work until the next question! ;)

Ákos

On 4/3/2016 1:49 PM, Archizona V wrote:
> Try to add tag $:/tags/Stylesheet to tiddler with styles
> 


-- 
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/57013477.6030104%40szederjei.eu.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: keyboard shortcut to edit a tiddler using keyboard widget in ViewTemplate

2016-04-03 Thread harsha
Thanks for the helpful reply, I was able to get it to work by adding a 
tabindex="1" to the div element in the ViewTemplate and enclosing the div 
inside a keyboard widget. Your website also had some good plugins.


<$keyboard key="ctrl+enter" message="tm-edit-tiddler">>><$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>




Harsha.
On Sunday, April 3, 2016 at 6:02:32 PM UTC+5:30, Knut Franke wrote:
>
> Hello Harsha,
>
> On Sunday, April 3, 2016 at 8:05:03 AM UTC+2, harsha wrote:
>
>> I selected some text in a tiddler and typed the shortcut. But it didn't 
>> enter edit mode. Is the problem that keyboard events dont enter the widget? 
>>
>
> Probably. As far as I know, only DOM elements with a tabindex attribute 
> get keyboard events, and you probably don't have any of those in the 
> rendering of your tiddler.
>
> I've also been experimenting with similar keyboard shortcuts, and I got it 
> mostly working. Head over to http://nome.github.io/TiddlyPlugins/ and 
> press F2 to edit a tiddler. You can't select the tiddler to edit with the 
> mouse though, you have to use Ctrl+Up/Down. It's still a bit rough, and 
> behaves weirdly sometimes, but the basics are there.
>
> Cheers,
> Knut
>

-- 
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/f33e4d07-a1c4-4ae5-91c4-42d5aa0118f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New and making a lot of mistakes

2016-04-03 Thread Knut Franke
On Saturday, April 2, 2016 at 11:49:29 PM UTC+2, Christopher Londrie wrote:
>
> 1) If I remove the field[corpname] I'm able to successfully pull the 
> titles of the GenSource: tiddler(s), however with it, I get null as a 
> result, I've made absolutely sure that I've made no spelling mistakes and 
> the GenSource tiddler does indeed have that field, am I specifying this 
> wrong?
>

As Mark said, you probably want `get[corpname]`.

2) How do I properly insert tags using the variables, they're considered 
> literal inside the quotes, and ignored outside of them.
>
 
Common pitfall. At the top of your tiddler, define a macro, like so:

\define createCorpTiddler()
<$action-sendmessage $message="tm-new-tiddler" title="Corp:$(FirstName)$" 
tags="Corp Corp:$(FirstName$)-$(LastName$)"/>
\end

Then, inside your button, insert this macro:

<$button>Generate Corp
<>


Basically, you need the `$(variable)$` syntax for this kind of 
interpolation, but that is only available in macro bodies.

3) Am I going about this in an absurd manner?
>

Dunno. Life is absurd. This bit doesn't strike me as particularly more so 
than the rest.


Cheers,
Knut 

-- 
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/6ac1ee81-6508-430c-9a15-ef4b704b40e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: keyboard shortcut to edit a tiddler using keyboard widget in ViewTemplate

2016-04-03 Thread Knut Franke
Hello Harsha,

On Sunday, April 3, 2016 at 8:05:03 AM UTC+2, harsha wrote:

> I selected some text in a tiddler and typed the shortcut. But it didn't 
> enter edit mode. Is the problem that keyboard events dont enter the widget? 
>

Probably. As far as I know, only DOM elements with a tabindex attribute get 
keyboard events, and you probably don't have any of those in the rendering 
of your tiddler.

I've also been experimenting with similar keyboard shortcuts, and I got it 
mostly working. Head over to http://nome.github.io/TiddlyPlugins/ and press 
F2 to edit a tiddler. You can't select the tiddler to edit with the mouse 
though, you have to use Ctrl+Up/Down. It's still a bit rough, and behaves 
weirdly sometimes, but the basics are there.

Cheers,
Knut

-- 
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/eb73be31-bc52-419e-afa2-cd4607721adb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: font question

2016-04-03 Thread Archizona V
Try to add tag $:/tags/Stylesheet to tiddler with styles

-- 
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/392425ea-bad0-4fa3-b388-5323e64c21c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
Wow, thanks Eric! That looks exactly like what I was hoping for!

I'd like to make use of your code in my project, if that's okay. I'm happy 
to credit you appropriately however you desire. My project will be released 
as an academic semester project for *{{DesignWrite}}* at first (Alpha 
Release), but once that's complete I would like to release it back to the 
wider TiddlyWiki community (Beta Release), and then for use freely by 
community support organisations here in New Zealand (Full Release). I 
understand that your code is not ready for distribution yet, but I'm sure 
that won't matter for the Alpha Release of TiddlyCRM, which is due in six 
weeks time. Beyond that I don't have a fixed schedule, and am happy to work 
in with your release schedule.

Kind regards,

Hegart.


On Sunday, 3 April 2016 23:09:47 UTC+12, Eric Shulman wrote:
>
> On Sunday, April 3, 2016 at 3:40:11 AM UTC-7, Hegart Dmishiv wrote:
>>
>> Hi all,
>>
>> I have finally mastered the *<$select>* widget, but it has left me 
>> wanting a *<$combobox>* widget as well.I know we have the original 
>> inventor of the combobox itself, lurking around here somewhere, hehe.
>>
>
> Ok here's my ComboBox macro (note: this is NOT officially 
> published yet, and is subject to change without regard to 
> backward-compatibility.
>
>
> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox
>
> and here's some (preliminary) documentation:
>
>
> http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo
>
> The combo box appears as a basic text input field, except that when you 
> mouse over it, a down arrow button appears, allowing you to display a list 
> of items to select from (using a filter you specify as a macro parameter). 
>  Depending upon optional parameters, you can have the list also appear as 
> soon as you begin to type into the input field, and also have the list 
> progressively filtered to only items that 'match' the current input value.
>
> In addition to the basic edit/list combination, the macro also permits you 
> to specify an "okaction" parameter (see examples) that performs action(s) 
> based on the contents of the input field.  When an okaction is provided, 
> mousing over the input field shows ok and cancel buttons in addition to the 
> down arrow button.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals
>
> Note: the URLs above (as well as the URLs contained in the documentation 
> itself) are not the final location for these tiddlers, and *WILL* change 
> when published (hopefully very soon).
>

-- 
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/5f34d8a4-769c-46a1-91e5-d887bea184bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How do I disable the auto-backup in TD Desktop?

2016-04-03 Thread Yahanan Xie
I've been searching for a way to disable the auto-backup feature of TD 
Desktop but can not find it. Is there a way to do this or some setting I 
can change?

Thank you.

-- 
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/34d40b48-f9ec-4bb5-9cb1-3c323227edb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Combobox

2016-04-03 Thread Eric Shulman
On Sunday, April 3, 2016 at 3:40:11 AM UTC-7, Hegart Dmishiv wrote:
>
> Hi all,
>
> I have finally mastered the *<$select>* widget, but it has left me 
> wanting a *<$combobox>* widget as well.I know we have the original 
> inventor of the combobox itself, lurking around here somewhere, hehe.
>

Ok here's my ComboBox macro (note: this is NOT officially published 
yet, and is subject to change without regard to backward-compatibility.

http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox

and here's some (preliminary) documentation:

http://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo

The combo box appears as a basic text input field, except that when you 
mouse over it, a down arrow button appears, allowing you to display a list 
of items to select from (using a filter you specify as a macro parameter). 
 Depending upon optional parameters, you can have the list also appear as 
soon as you begin to type into the input field, and also have the list 
progressively filtered to only items that 'match' the current input value.

In addition to the basic edit/list combination, the macro also permits you 
to specify an "okaction" parameter (see examples) that performs action(s) 
based on the contents of the input field.  When an okaction is provided, 
mousing over the input field shows ok and cancel buttons in addition to the 
down arrow button.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

Note: the URLs above (as well as the URLs contained in the documentation 
itself) are not the final location for these tiddlers, and *WILL* change 
when published (hopefully very soon).

-- 
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/56317e73-f3fe-43d9-a570-1ae6a2bbf85c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Combobox

2016-04-03 Thread Hegart Dmishiv
Hi all,

I have finally mastered the *<$select>* widget, but it has left me wanting 
a *<$combobox>* widget as well. In my latest experiment 
 for our *{{DesignWrite}}* semester 
project, TiddlyCRM, I've been able to populate the options of a *<$select>* 
widget from a series of tiddlers which are all tagged  foobar . This works 
great! However, what if the option I want is not currently listed, and I 
want to add it? That is where a *<$combobox>* widget or equivalent would 
come in handy. Ideally, I'd like to be able to do this without having to 
add a plugin, if possible. If not, could someone point me to something that 
would achieve this result? I know we have the original inventor of the 
combobox itself, lurking around here somewhere, hehe.

Here's my current code for the *<$select>* widget I'm using...

<$select tiddler="$:/_Temp/foobar" field="city" default="Foo">
<$list filter="[tag[foobar]]">
<$view field="city"/>





Hegart.

-- 
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/6af11e26-0b0c-4f6d-9640-c804394be4f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 Global macro leave

2016-04-03 Thread PMario
You where faster :)  but the funny thing is. If I test the code of the 
OP with tiddlywiki.com it works just fine. ... So there may be something 
else involved too?
-m

-- 
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/8acc7a3c-8e2e-4aa9-811a-f4b1c56f78c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 Global macro leave

2016-04-03 Thread PMario
Try this: 

\define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/>

or

\define counting()
<$count filter="[tag{!!caption}] -[tag[genus]]"/>
\end

So no new lines, because in wikitext this means to render the text as a new 
paragraph. 

-m

-- 
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/6b7258a8-6dbd-4fee-9b01-dbd62a5ac6fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] filter list by multiple (2) tags and sort by field "order"

2016-04-03 Thread PMario
On Sunday, April 3, 2016 at 8:01:58 AM UTC+2, Dave wrote:
>
> Thank you Eric, that worked (of course ;)
> So I guess that means that if you don't have the "+" its basically calling 
> for all tiddlers regardless of the previous tags because its not within a 
> bracket structure like [tag[Foo]sort[order]]
>

also see: http://tiddlywiki.com/#Introduction%20to%20filter%20notation
-m 

-- 
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/3fba74df-c225-46a1-95f8-08e0fbb4704c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 Global macro leave

2016-04-03 Thread Eric Shulman
On Sunday, April 3, 2016 at 2:26:02 AM UTC-7, magev958 wrote:
>
> I made a global macro:
>
> \define counting()
>
> <$count filter="[tag{!!caption}] -[tag[genus]]"/>
>
> \end
>
> and call it with <> and it works perfectly. But the text does 
> not continue on the same line after the number but starts a new line. Any 
> idea why?
>

Omit the blank lines from within the macro definition, like this:
\define counting()
<$count filter="[tag{!!caption}] -[tag[genus]]"/>
\end

In fact, you could write this as single-line macro definition, like this:
\define counting() <$count filter="[tag{!!caption}] -[tag[genus]]"/>

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

-- 
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/c07b728e-adaa-4504-8472-ff83eb845718%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 Global macro leave

2016-04-03 Thread magev958
I made a global macro:

\define counting()

<$count filter="[tag{!!caption}] -[tag[genus]]"/>

\end

and call it with <> and it works perfectly. But the text does not 
continue on the same line after the number but starts a new line. Any idea 
why?

-- 
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/4cfc25ab-e6a8-4de7-830e-8e8790c9d219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] keyboard shortcut to edit a tiddler using keyboard widget in ViewTemplate

2016-04-03 Thread harsha
Hello, 

In trying to get a shortcut to edit a tiddler, I inserted the following 
into the view template
<$keyboard key="ctrl+enter" message="tm-edit-tiddler">... where 
the ... refers to portion of view template <$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/> 

I selected some text in a tiddler and typed the shortcut. But it didn't 
enter edit mode. Is the problem that keyboard events dont enter the widget? 

Thanks, 
Harsha

-- 
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/60bce078-2aef-490d-98a1-12bd997c691b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] filter list by multiple (2) tags and sort by field "order"

2016-04-03 Thread Dave
Thank you Eric, that worked (of course ;)

So I guess that means that if you don't have the "+" its basically calling 
for all tiddlers regardless of the previous tags because its not within a 
bracket structure like [tag[Foo]sort[order]]

-- 
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/ef0320fb-2728-41c6-b2a4-3ec178f05f0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.