[tw] Re: pass parameter to TW5 while opening it?

2015-12-01 Thread PMario
Hi Dave, 

TW isn't a general purpose text editor, because of the restrictions you 
pointed out already. 

Jeremy was talking about his extensions to the latest TiddlyDesktop 
version. Especially to work with WikiFolders, which makes it possible to 
start nodejs behind the curtain. So the user doesn't need to deal with all 
the internals. You can have a look at the info at: 
https://youtu.be/5Pe7rYFG9rE?t=6015 ...  but ... 

it can only deal with well formatted .tid text files which look like this:

title: Title shown in tiddlywiki
tags: tag1 tag2 
type: text/vnd.tiddlywiki

Your text comes here. 
Line 2
Some more text

As you can see in the video, the file needs to be part of a TiddlyWiki 
edition. So you can't point to any file on your system. It has to be within 
the edition directory structure. 

hope that helps.
mario

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd46e364-9079-4a5e-8657-c019fe08ecb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: pass parameter to TW5 while opening it?

2015-12-01 Thread Dave
That's interesting!  

Back when I was experimenting with TWC and the ArchivePlugin, I was able to 
change the intstances in the code from "html" (that plugin stored tiddlers 
as html files) to "txt" and it just worked.

Is there that same possibility to just change it from "tid" to "txt" if you 
wanted?

On Tuesday, December 1, 2015 at 1:19:46 PM UTC-7, PMario wrote:
>
> Hi Dave, 
>
> TW isn't a general purpose text editor, because of the restrictions you 
> pointed out already. 
>
> Jeremy was talking about his extensions to the latest TiddlyDesktop 
> version. Especially to work with WikiFolders, which makes it possible to 
> start nodejs behind the curtain. So the user doesn't need to deal with all 
> the internals. You can have a look at the info at: 
> https://youtu.be/5Pe7rYFG9rE?t=6015 ...  but ... 
>
> it can only deal with well formatted .tid text files which look like this:
>
> title: Title shown in tiddlywiki
> tags: tag1 tag2 
> type: text/vnd.tiddlywiki
>
> Your text comes here. 
> Line 2
> Some more text
>
> As you can see in the video, the file needs to be part of a TiddlyWiki 
> edition. So you can't point to any file on your system. It has to be within 
> the edition directory structure. 
>
> hope that helps.
> mario
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f14006bd-7585-4ad7-951f-1b4e5f430a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: make action work in view mode and edit mode

2015-12-01 Thread Erwan


Hi Tobias,

Thank you for this.

Thinking about this issue I realized that if the user opens a tiddler A 
for edition, then does something else with some other tiddlers, for 
instance clicks a button which changes the value of some field in 
tiddler A, and later comes back to the draft of tiddler A and saves the 
changes, then the new field value is overwritten.


Example: on tiddlywiki.com create a new tiddler with this content:

<$button>
<$action-setfield $tiddler="GettingStarted" tags="[[new tag!]]"/>
<$action-navigate $to="GettingStarted"/>
Modify tag of GettingStarted


then open GettingStarted for edition, and then click the button from the 
new tiddler: at this stage the tags in the non-draft version of 
GettingStarted contains "new tag!". Now if you close the draft version 
by clicking the save button, the tags go back to the previous version. 
(additionally GettingStarted is open twice in the story river, which is 
strange).


It seems to me that this is counter-intuitive:

- at least I would expect a warning message when I click "save" if some 
modifications have been done since I opened the draft.
- or maybe there could even be a warning any time a non-draft tiddler is 
modified while the draft version is open?
- an even better alternative, but I don't know if this is possible, 
would be to prevent any more editing on the draft before the user 
chooses which version they want to keep: either they reload the modified 
non-draft version and lose any change done in edit mode, or they keep 
the draft changes and lose the other modifications?
- there is also the possibility to synchronize silently the draft 
version, but this wouldn't be desirable if the text field is modified, 
for example.


What do you think? Should I open a new issue on github about that?

Cheers
Erwan


On 01/12/15 12:36, Tobias Beer wrote:

Hi Erwan,

do you know if it is possible (and how) to make that work with a
checkbox widget and a select widget, instead of a button?


The current approach is to store the selected option at a state / 
temporary tiddler

and then use another button widget to actually perform the action.

So, I'm afraid to directly execute the desired action on multiple tiddlers
is not possible today, since non-button-control-widgets are only bound 
to a single tiddler.
Technically it's quite doable to bind any of these control widgets to 
a *filter*, instead.

*@Jeremy*, would you find this useful? I think it would be,
especially for some utility tool that would batch-modify a bunch of 
tids no matter which control is used.


Best wishes,

Tobias.
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/220a8edd-adb0-4bd4-829d-9d3488e2ef00%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/565E3EC7.7080006%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: pass parameter to TW5 while opening it?

2015-12-01 Thread PMario

On Tuesday, December 1, 2015 at 9:52:10 PM UTC+1, Dave wrote:
>
> Is there that same possibility to just change it from "tid" to "txt" if 
> you wanted?
>

Yes. The .tid file is a simple text file. So every editor that can open 
.txt can open .tid files. 
The problem is the "header area", where you have to have 
 - the "title:" line
 - one empty line
 - your text. 

eg:

title: Title shown in tiddlywiki

your text comes here.

So if you text files look like this, it's as simple as renaming them. .. 

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ed8c1b30-c43b-4136-8fe5-7b7b268ccf23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to Split a Large List into Smaller List Seperate by Page

2015-12-01 Thread James
Hi All,

I have a large list of tiddlers, more than 1,000 tiddlers, in the filter 
criteria.  It's difficult for me to screen through the list for what I 
want,although filter could be an alternative way, but still it is a little 
bit hassle for me to handle a large list like this.

I am looking for how to split the list into smaller list, for instance 50 
tiddlers on one page.  And I can click on the page number under the page, 
for instance "1 - 50 | 51 - 100 | and more ".  Just like what we see in 
most of the forum threat and email application.

Would it be possible to do that?


Regards,
James

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/309ebfcd-9402-4d10-92c4-39628a5a6d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: pass parameter to TW5 while opening it?

2015-12-01 Thread Dave
ok, now I'm confused:

I downloaded the latest version here 
https://github.com/Jermolene/TiddlyDesktop/releases

(linux 64 bit)

and when I save a TW file using that it just saves it to a backup folder as 
a complete html file with no individual tiddlers.  Is there a procedure I'm 
missing to get this to work this way?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/21ec1f0b-e9e3-4397-9076-41100a3d7115%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread NT
Hi BJ

Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>
> Hi NT,
> you may be missing the fields 
>
> type: application/javascript
> module-type: macro
>
> you can set the type by editing the tiddler and selecting 
> 'application/javascript' from the dropdown list,
>
thanks, I did this before.

you can add a field 'module-type' from the drop down list and then add the 
> value 'macro'
>
YES, that's the thing I expected I could do. But there is no 'module-type' 
in the drop down list!!! I am using TiddlyWiki5.1.9


> As Mario said, if you say what you are trying to achieve then we can 
> advise you if this is the right track,
>
Yes, please see my answer to Mario. But I am also interested to get a 
javascript macro working. 

>
> all the best 
>
> BJ
>
>
Thanks, could you give further advice to the module-type?! 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6e8b30f-ee45-4d2c-a632-7dfbf1cdc5ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread Eric Shulman
On Tuesday, December 1, 2015 at 9:40:00 AM UTC-8, NT wrote:
>
> you can add a field 'module-type' from the drop down list and then add the 
>> value 'macro'
>>
> YES, that's the thing I expected I could do. But there is no 'module-type' 
> in the drop down list!!! I am using TiddlyWiki5.1.9
>

"module-type" *is* in listed in the "field name" drop list... scroll down 
to the "system fields" section... and you will find it after "library" and 
before "name".

Note: if a desired field name is not in the list, you can just enter it 
directly in the input field.

-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7e91e42a-3d89-4123-8acb-af637fc51185%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread BJ


On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>
> Hi BJ
>
> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>
>> Hi NT,
>> you may be missing the fields 
>>
>> type: application/javascript
>> module-type: macro
>>
>> you can set the type by editing the tiddler and selecting 
>> 'application/javascript' from the dropdown list,
>>
> thanks, I did this before.
>
> you can add a field 'module-type' from the drop down list and then add the 
>> value 'macro'
>>
> YES, that's the thing I expected I could do. But there is no 'module-type' 
> in the drop down list!!! I am using TiddlyWiki5.1.9
>
>
>> As Mario said, if you say what you are trying to achieve then we can 
>> advise you if this is the right track,
>>
> Yes, please see my answer to Mario. But I am also interested to get a 
> javascript macro working. 
>
>>
>> all the best 
>>
>> BJ
>>
>>
> Thanks, could you give further advice to the module-type?! 
>

you can type it in - see attached 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/453df2ff-8f05-414d-bff2-cd22b324f33f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread BJ
important!
It is necessary to reload you tw after making changes to a javascript 
tiddler

On Tuesday, December 1, 2015 at 5:59:21 PM UTC, BJ wrote:
>
>
>
> On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>>
>> Hi BJ
>>
>> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>>
>>> Hi NT,
>>> you may be missing the fields 
>>>
>>> type: application/javascript
>>> module-type: macro
>>>
>>> you can set the type by editing the tiddler and selecting 
>>> 'application/javascript' from the dropdown list,
>>>
>> thanks, I did this before.
>>
>> you can add a field 'module-type' from the drop down list and then add 
>>> the value 'macro'
>>>
>> YES, that's the thing I expected I could do. But there is no 
>> 'module-type' in the drop down list!!! I am using TiddlyWiki5.1.9
>>
>>
>>> As Mario said, if you say what you are trying to achieve then we can 
>>> advise you if this is the right track,
>>>
>> Yes, please see my answer to Mario. But I am also interested to get a 
>> javascript macro working. 
>>
>>>
>>> all the best 
>>>
>>> BJ
>>>
>>>
>> Thanks, could you give further advice to the module-type?! 
>>
>
> you can type it in - see attached 
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/77a8df06-aaab-4575-a4f5-d9ad516fd434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread BJ
I use  to see this occasionally when I 'only' had 2GB of memory - ff was 
leaking memory and If you saved when there was no memory left you got this 
0 byte file. So if you load up some other large apps it maybe reproducable. 
There is a pull request for tiddlyfox that produces a once a day backup. 

On Tuesday, December 1, 2015 at 1:35:18 PM UTC, PMario wrote:
>
> On Tuesday, December 1, 2015 at 12:44:24 AM UTC+1, Ed wrote:
>>
>> @All.
>>
>> Anybody experiencing this behaviour?
>> Sometimes my FireFox 42.0 breaks down and manages 
>> to save, in the proces as it were, the TW5.1.9 I am working
>> on to 0kB on the hard drive. 
>>
>
> It would be really good, if we could have a way to reproduce this issue.
>
> Which FireFox AddOns do you have installed? 
>
> I personally haven't had a crash to desktop with FF yet, if working with 
> TW files. 
> I only manage to kill the video players when I create the hangout 
> annotations, switching between 2x and 1x speed, hopping back and forward in 
> the stream. ... 
>
> -mario
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f347d77a-d42b-4b5e-bfe5-133ed51e239a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Word count hack

2015-12-01 Thread James
Hi Jeremy,

Any idea how to use this in TW5?
Sorry for the stupid question.  I am looking forward for a copy and paste 
solution.  Thanks.


On Wednesday, 4 March 2015 03:29:22 UTC+8, Jeremy Ruston wrote:
>
> Here's a quick and dirty hack to count the number of words in the tiddlers 
> with a particular tag in TiddlyWiki 5:
>
> https://gist.github.com/Jermolene/47f5607cbae2fb7a4376
>
> It counts the number of words in the raw text, not the wikified output.
>
> Best wishes
>
> Jeremy
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c6e583f-ac15-41ec-afdf-c48d94db59cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread NT


Am Dienstag, 1. Dezember 2015 18:51:52 UTC+1 schrieb Eric Shulman:
>
> On Tuesday, December 1, 2015 at 9:40:00 AM UTC-8, NT wrote:
>>
>> you can add a field 'module-type' from the drop down list and then add 
>>> the value 'macro'
>>>
>> YES, that's the thing I expected I could do. But there is no 
>> 'module-type' in the drop down list!!! I am using TiddlyWiki5.1.9
>>
>
> "module-type" *is* in listed in the "field name" drop list... scroll down 
> to the "system fields" section... and you will find it after "library" and 
> before "name".
>

no, sorry it's not. at least not in my freshly downloaded empty wiki 5.1.9
between "library" and "name" there's "list" in the list.
please see my appended wiki!


> Note: if a desired field name is not in the list, you can just enter it 
> directly in the input field.
>

Yes, I knew and I did, but it did not made the javascript macro work.
Maybe this manual entry didn't worked out or there was another problem left.
I don't know. Feel free to check out the appended wiki and try yourself.
Thank you very much!
 

>
> -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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23e30c93-f38b-40b3-983a-a90c31079088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread NT


Am Dienstag, 1. Dezember 2015 18:59:21 UTC+1 schrieb BJ:
>
>
>
> On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>>
>> Hi BJ
>>
>> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>>
>>> Hi NT,
>>> you may be missing the fields 
>>>
>>> type: application/javascript
>>> module-type: macro
>>>
>>> you can set the type by editing the tiddler and selecting 
>>> 'application/javascript' from the dropdown list,
>>>
>> thanks, I did this before.
>>
>> you can add a field 'module-type' from the drop down list and then add 
>>> the value 'macro'
>>>
>> YES, that's the thing I expected I could do. But there is no 
>> 'module-type' in the drop down list!!! I am using TiddlyWiki5.1.9
>>
>>
>>> As Mario said, if you say what you are trying to achieve then we can 
>>> advise you if this is the right track,
>>>
>> Yes, please see my answer to Mario. But I am also interested to get a 
>> javascript macro working. 
>>
>>>
>>> all the best 
>>>
>>> BJ
>>>
>>>
>> Thanks, could you give further advice to the module-type?! 
>>
>
> you can type it in - see attached 
>

Yes BJ, I know, please see my answer to Eric.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/748de8d4-e2bf-46f9-94db-9c10a1c9482f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread NT


Am Dienstag, 1. Dezember 2015 19:21:55 UTC+1 schrieb BJ:
>
> important!
> It is necessary to reload you tw after making changes to a javascript 
> tiddler
>
>>
>> Yes I knew and I did, thanks for trying harder :-) 
But I will repeat it to be sure!

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/015d424e-2515-4b6d-b07d-45503043a078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Snap.js progress

2015-12-01 Thread BJ

HI Jed,
very Interesting stuff!
I think that entering js in a separate tiddler is probably ok, that what I 
do for other stuff. - I think (but am no expert) that the security concern 
is that thru an editor element it could be possible to paste html with 
malicious js elements.

all the best 

BJ 

> I wasn't planning on making this but I got a bit carried away and made a 
> simple svg toy/tool . It 
> isn't finished yet and is probably full of bugs, but the basic parts work. 
>
> Some stuff you can currently do:
>
> You can have multiple svg surfaces defined
> You can have multiple svg elements defined
> -Elements are added to surfaces by tagging
> All image and element information is kept in tiddlers so if you make a 
> draggable element the location is saved and is accessable from the rest of 
> the wiki
> -This also means you can change the location of elements on a surface in 
> ways other than dragging them
> You can make elements draggable if you want
> Currently you can add:
> -Circles
> -Ellipses
> -Rectangles
> -Generic polygons
> There was support for grouping elements, but that got mostly broken when I 
> changed everything to allow multiple surfaces. It shouldn't be too hard to 
> fix when I get around to it.
>
> At the moment the most interesting thing you could do with this is to make 
> an interactive bar chart. Since everything is exposed in tiddlywiki it 
> should be much easier than how the d3.js plugin currently works.
>
> I am a bit worried about how I did this, because the widget takes some 
> javascript from a tiddler and then evaluates it, which would let someone 
> run arbitrary javascript from a tiddler. I don't think that is too terrible 
> a problem, but I would like find some other way to do it.
>
> If you run into any bugs let me know. I know you can't edit existing 
> polygons using the shapes tiddler like with the other shapes, and that if 
> you try adding a polygon to one surface and click on another you get an 
> error. I am sure that here are many more.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e5f5c027-5d86-492c-ba71-b40823cf4f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] pass parameter to TW5 while opening it?

2015-12-01 Thread Dave
Is is currently possible to pass a parameter to a TW5 file while opening it?

I tried something like this:

firefox /home/twfile.html /home/anotherFile.txt

but it just opened the TW5 and tried to open the text file


I know (or at least I think) I could view and edit a text file from within 
TW5 (including all the wikifying goodness) using node.js, but is there a 
way yet to do it with a regular TW5?  I know there are security 
restrictions, but I thought maybe if done while opening the TW5 that might 
somehow get around those restrictions...


Just wondering,
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80306e37-b2e8-4394-a17c-e50a79de1646%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread BJ
Hi NT,
you may be missing the fields 

type: application/javascript
module-type: macro

you can set the type by editing the tiddler and selecting 
'application/javascript' from the dropdown list,
you can add a field 'module-type' from the drop down list and then add the 
value 'macro'

As Mario said, if you say what you are trying to achieve then we can advise 
you if this is the right track,

all the best 

BJ


On Tuesday, December 1, 2015 at 1:32:32 PM UTC, NT wrote:
>
> Hi there, 
> I wanted to make a string replacement and found no other possibility as to 
> do it with a javascript macro.
> So I found at http://tw5magick.tiddlyspot.com/ the following source code:
>
>
>
> /*\
> title: $:/macros/skeeve/mysamplemacro.js
> type: application/javascript
> module-type: macro
>
> <>
>
> Example:
> <>
> <>
> <>
>
> \*/
> (function(){
>
> /*jslint node: true, browser: true */
> /*global $tw: false */
> "use strict";
>
> /*
> Information about this macro
> This is the mysamplemacro of Tiddly Wiki 5 written in JavaScript 
> */
>
> exports.name = "mysamplemacro";
>
> exports.params = [
> { name: "character" },
> { name: "address" }
> ];
>
> /*
> Run the macro
> */
> exports.run = function(character, address) {
> if( !character) character = "Bugs Bunny";
> if( !address) address = "Rabbit Hole Hill";
> var output ="Hi, I'm " + character + " and I live in " + address;
> return output;
> };
>
> })();
>
>
>
> I just copied to my wiki and named it $:/macros/skeeve/mysamplemacro.js 
> like it was before.
> Then I tried to call it within a tiddler named jsTest:
>
>
> <>
> <>
> <>
>
>
>
> But this did not work, there was no output.
>
> So what went wrong???
>
>
> I have read this: http://tiddlywiki.com/dev/index.html#JavaScript%20Macros
>
> I wondered where to find and to set the module type.
>
> Is this just done by putting one line in the macro source code like 
> "module-type: macro"?
>
> As there is the speaking of a module-type "field" I expected to find it at 
> the bottom of a tiddler in "Edit"-Mode between the System fields like 
> current-tiddler, library or plugin type.
>
> Also it is not clear to me if I have to tag the js-macro with $:/tags/Macro 
> as the normal wikitext macros.
>
> Also the naming convention is not clear to me. I want this macro globally 
> accessible, but not mixed up in between the system macros. 
>
>
> I would be happy about suggestions to why my js macro is not working as I 
> found the documentation about that a bit limited.
>
> Thank you very much!
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ce889c7-098f-4b33-9129-ff5772c4770d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlyWiki Hangout #92 is about to start

2015-12-01 Thread Jeremy Ruston
Apologies for the short notice, but TiddlyWiki Hangout #92 is starting now..

Watch or post questions at
https://plus.google.com/events/c1lqj4aa3vjub8fuec11jjsi5t4

Or join in at
https://plus.google.com/hangouts/_/hoaevent/AP36tYf914vdoR99K3NaPHdKfW8S-k2XMLu-hHadsxsuvwJ5EKciCA

Best wishes

Jeremy.

-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJaJr2v%2BbH4tH1mkaR35XZxipbKoLDr5vcZbMs_8D5ENdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Fun with static pages

2015-12-01 Thread Tobias Beer
Hi Dave,

I mentioned earlier in this thread that I managed to find an easier, more 
> TiddlyWiki way to do static publishing like I did with the Spanish, 3 John 
> resource.
>
 
Great to see you take on this road!
It will be much easier for you to manage
than to manually add the required controls and anchors
to each individual tiddler ...correctly.

Best wishes,

Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3409761d-8a74-42a6-b55a-4fa0be7104ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread Tobias Beer
Hi Ed,

0k, aka, the point o no recovery.
I truly hope you have a backup (that ain't all that ancient).
It's one (for me) reason to work with TiddlyWiki on node.js
and then push those tids to a (github) repo...
assuming your content isn't all that private.

Best wishes,

Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/152e252e-75b2-4438-979c-528474d21602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: make action work in view mode and edit mode

2015-12-01 Thread Tobias Beer
Hi Erwan,

do you know if it is possible (and how) to make that work with a checkbox 
> widget and a select widget, instead of a button?


The current approach is to store the selected option at a state / temporary 
tiddler
and then use another button widget to actually perform the action.

So, I'm afraid to directly execute the desired action on multiple tiddlers
is not possible today, since non-button-control-widgets are only bound to a 
single tiddler.
Technically it's quite doable to bind any of these control widgets to a 
*filter*, instead.
*@Jeremy*, would you find this useful? I think it would be,
especially for some utility tool that would batch-modify a bunch of tids no 
matter which control is used.

Best wishes,

Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/220a8edd-adb0-4bd4-829d-9d3488e2ef00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Multiple sorts of filtered tiddler list

2015-12-01 Thread Tobias Beer
Hi Tim,

I haven't managed to find any examples of a "custom editor". Can you 
> provide any examples or links?
>

Maybe this will point you in the right direction:

New Tiddler From Form @ tb5 


This one uses a form to create and also edit some sort of user tiddler,
although I actually find it a bit unintuitive, tbh. :D

Perhaps it gives a mild pointer as to how / where to start.

Other than that, take a look at the possible control widgets for editing, 
e.g.:

   - EditTextWidget
   - RadioWidget
   - SelectWidget
   - CheckboxWidget

While either storing the changes directly at that other tiddler,
or using a temporary tiddler to save changes to and then a...

   - ButtonWidget
   
...at the very end that takes all the input values from the control widgets
and writes them to whichever target tiddler(s).

Best wishes,

Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6675ad64-f35f-47f3-8d18-9156e6dc5288%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread Sylvain Naudin
Hi Ed,

I'm sorry for you.. I had several times the same issue with 0k file when 
Firefox crash (maybe 5 to 10 times, since several month). So I don't think 
it's 42.0 specially.

But I use TiddlyFox from BJ with backup, so it's save me each times so that 
I can find a copy before the crash.
You can use TiddlyFox 2.0 from Jeremy as well now with backup capacities.

I can't figure out why of this crash..

Regards,
Sylvain

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3b026634-780b-412d-a781-3dfdd0fd061b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Build a dynamic link with variables

2015-12-01 Thread NT
Thank you Tobias, that solved the problem for me :-)

However, I found that a wikitext macro could not be sufficient for my 
purpose.
So I tried to make a javascript macro. Another question came up and I 
opened a new topic for this :-)

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86a58f43-39ff-45ed-aa00-3e97401ad411%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread Ed
Hi Tobias,

In this particular case I didn'tamke a back-up as I was in a hurry to make 
presentation
and I stupidly forgot to do that. Happened twoce befor and then I was save 
with the
other TW's I was working on on.

"0k, aka, the point o no recovery." I'l kkep that in mind! 8-))

Working on node.js is way over my head, unfortunately.

Well it teaches me, to be more careful next time.

Cheer! Edm.



Op dinsdag 1 december 2015 14:01:40 UTC+1 schreef Tobias Beer:
>
> Hi Ed,
>
> 0k, aka, the point o no recovery.
> I truly hope you have a backup (that ain't all that ancient).
> It's one (for me) reason to work with TiddlyWiki on node.js
> and then push those tids to a (github) repo...
> assuming your content isn't all that private.
>
> Best wishes,
>
> Tobias.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6a660c95-68c1-46ec-99e3-6dfecf8a4ede%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread Ed
Hi Pmario,

I remeber that I had a lot of tabs open, could that be the wrongdoer?
Anyway, the addons
BetterPrivacy
Dwonload YouTube Videos as MP4
Google Analytics Opt-out Browser Addon
HDS Link detector
RT News
Safe as PDF
TiddlyClip
TiddlyFox
VideoDownloadHelper
Next ones are Switch off
Microsoft.NEt Frameworl Assistent (No idea how that got there an dcant seem 
to get it away.)
PDF Downlaod
Web2PDFConverter

Quite a list I suppose, hope thsi amkes any sense to you

Anyway thanks to you and Tobias for taking the time to comment! 8-))



Op dinsdag 1 december 2015 14:35:18 UTC+1 schreef PMario:
>
> On Tuesday, December 1, 2015 at 12:44:24 AM UTC+1, Ed wrote:
>>
>> @All.
>>
>> Anybody experiencing this behaviour?
>> Sometimes my FireFox 42.0 breaks down and manages 
>> to save, in the proces as it were, the TW5.1.9 I am working
>> on to 0kB on the hard drive. 
>>
>
> It would be really good, if we could have a way to reproduce this issue.
>
> Which FireFox AddOns do you have installed? 
>
> I personally haven't had a crash to desktop with FF yet, if working with 
> TW files. 
> I only manage to kill the video players when I create the hangout 
> annotations, switching between 2x and 1x speed, hopping back and forward in 
> the stream. ... 
>
> -mario
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28d47eb6-2bbd-4b02-b18c-2e07090fb853%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] problems to make a javascript macro work

2015-12-01 Thread NT
Hi there, 
I wanted to make a string replacement and found no other possibility as to 
do it with a javascript macro.
So I found at http://tw5magick.tiddlyspot.com/ the following source code:



/*\
title: $:/macros/skeeve/mysamplemacro.js
type: application/javascript
module-type: macro

<>

Example:
<>
<>
<>

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
This is the mysamplemacro of Tiddly Wiki 5 written in JavaScript 
*/

exports.name = "mysamplemacro";

exports.params = [
{ name: "character" },
{ name: "address" }
];

/*
Run the macro
*/
exports.run = function(character, address) {
if( !character) character = "Bugs Bunny";
if( !address) address = "Rabbit Hole Hill";
var output ="Hi, I'm " + character + " and I live in " + address;
return output;
};

})();



I just copied to my wiki and named it $:/macros/skeeve/mysamplemacro.js 
like it was before.
Then I tried to call it within a tiddler named jsTest:


<>
<>
<>



But this did not work, there was no output.

So what went wrong???


I have read this: http://tiddlywiki.com/dev/index.html#JavaScript%20Macros

I wondered where to find and to set the module type.

Is this just done by putting one line in the macro source code like 
"module-type: macro"?

As there is the speaking of a module-type "field" I expected to find it at the 
bottom of a tiddler in "Edit"-Mode between the System fields like 
current-tiddler, library or plugin type.

Also it is not clear to me if I have to tag the js-macro with $:/tags/Macro as 
the normal wikitext macros.

Also the naming convention is not clear to me. I want this macro globally 
accessible, but not mixed up in between the system macros. 


I would be happy about suggestions to why my js macro is not working as I found 
the documentation about that a bit limited.

Thank you very much!

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80fa8613-993d-4ed8-af62-c75619980e32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread PMario
On Tuesday, December 1, 2015 at 12:44:24 AM UTC+1, Ed wrote:
>
> @All.
>
> Anybody experiencing this behaviour?
> Sometimes my FireFox 42.0 breaks down and manages 
> to save, in the proces as it were, the TW5.1.9 I am working
> on to 0kB on the hard drive. 
>

It would be really good, if we could have a way to reproduce this issue.

Which FireFox AddOns do you have installed? 

I personally haven't had a crash to desktop with FF yet, if working with TW 
files. 
I only manage to kill the video players when I create the hangout 
annotations, switching between 2x and 1x speed, hopping back and forward in 
the stream. ... 

-mario

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bfdc5c9a-a105-4c0f-b423-c4782e5552d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread PMario
Hi NT, 

I think it would be easier, if you describe, what you want to do, instead 
let us guess.

I personally think, we can solve your problem using standard tools instead 
of a js macro, which contains hard coded strings. 

-mario

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ec09590-1b03-47cf-b050-27dd090b7975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Quick Question TW5 State of the Art: Using Sliders?

2015-12-01 Thread Ed
Hi Birthe,

 Thanks for pointing me that way, but I''ll try Eric first.
Cheers! Ed.




Op dinsdag 1 december 2015 04:22:25 UTC+1 schreef Birthe C:
>
> Hi Ed,
>
> Examples in Ton Gerners guide: 
> http://tw5topleft.tiddlyspot.com/#Normal%20slider%20entries
>
>
> Birthe
> 
> On Tuesday, December 1, 2015 at 2:35:55 AM UTC+1, Ed wrote:
>>
>> @Dear All
>>
>> Very recentlyI was asked to do a presentation about a certain subject
>> and I wanted to use a TiddlyWiki in stead of Keynote of PowerPoint.
>> Much more flexible and far more nonlinear. I want to use a TW as
>> plain vanilla as possible with no extra frills.
>>
>> But I need to know what at the moment the best way is to use sliders
>> that indendently open and close.
>>
>> You know of course this
>> > Subject title to open
>> Clicking on the fishhook opens another tiddler.
>> Etc.
>>
>> As I have not used TW for quite some time I am really not up to snuff
>> what is best to use. Have of course looked around here but it's a bit
>> confusing at the moment.
>>
>> I need the stuff real quickly. They should have asked my much more 
>> early to do the presentation but, well they didn't. So i am bit stuck.
>>
>> Any practical and quick help would be really appreciated.
>> Cheers! Ed
>>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1268be25-2f83-4301-b167-f1d2f1feecf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Quick Question TW5 State of the Art: Using Sliders?

2015-12-01 Thread Ed
Hi Eric really appreciate your trying to help. See email. 8-)

But I am stuck.

I did go for the global macro and tagged it the way it should be.
I made a tiddler called "Slider Experiment" and three sliders that were to 
open inside that "Slider Experiment"
The Sliders were Called "SubSlider1", "SubSlider2" and "SubSlider3"

I put in the macro that you showed me three times into "Slider Experiment".
I could retain the label, but substituted "MoreInformation" with the names 
of the three slider mentioned above.

What exactly to do with "infoslider" in the macro was not clear to me. So 
there you might hopefully can explain more.

Anyway I retained it in place in the macro.

Result
When saving and reloading I had three buttons, but clicking on any of them 
made them alle disappear leaving me
with a tiddler with only the title. Snifs.

I sure don't want to be ungrateful as you know, but wasn't it possible to 
create something that looked like
> Title of Chapter instead of using a button?

I've seen several other people do it, but mostly it seemed not easely 
repoducable for me; my knowledge is limited.

Salut! Edm.




Op dinsdag 1 december 2015 05:12:16 UTC+1 schreef Eric Shulman:
>
> On Monday, November 30, 2015 at 5:35:55 PM UTC-8, Ed wrote:
>>
>> But I need to know what at the moment the best way is to use sliders
>> that independently open and close.
>>
>
> In TWClassic, the <> macro worked like this:
>
> <>
>
> In TW5, there is no *native* slider macro.  Instead, you can assemble the 
> slider-like behavior from a combination of basic $button and $reveal 
> widgets, like this:
>
> <$reveal type="nomatch" state="$:/state/SomeID" text="show">
> <$button set="$:/state/SomeID" setTo="show">Text to click on
> 
> <$reveal type="match" state="$:/state/SomeID" text="show">
> <$button set="$:/state/SomeID" setTo="hide">Text to click on
> <$transclude tiddler="TiddlerToShow" mode="block"/>
> 
>
> Of course, this is quite a lot to type each time you want a slider so, 
> we can wrap this up into a TW5 macro definition.  Just create a new tiddler 
> (e.g., [[SliderMacro]]), tagged with "$:/tags/Macro", containing the 
> following:
>
> \define slider(id,label,tiddler)
> <$reveal type="nomatch" state="$:/state/$id$" text="show">
> <$button set="$:/state/$id$" setTo="show">$label$
> 
> <$reveal type="match" state="$:/state/SomeID" text="show">
> <$button set="$:/state/$id$" setTo="hide">$label$
> <$transclude tiddler="$tiddler$" mode="block"/>
> 
> \end
>
> The "$:/tags/Macro" tag makes the macro definition global, so you can use 
> it anywhere you want to insert a slider into your content, by writing 
> something like:
>
> <>
>
> where "infoslider" is used as $id$,  "click to read more" is the $label$, 
> and "MoreInformation" is the $tiddler$
>
> That should get you going let me know if you get stuck.
>
> enjoy,
> -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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31fbffc2-736c-4b09-9e38-45c4cd79e35d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: FireFox 42.0 breaks down and saves TW5 to 0kB

2015-12-01 Thread PMario
On Tuesday, December 1, 2015 at 3:00:12 PM UTC+1, Ed wrote:
>
> I remeber that I had a lot of tabs open, could that be the wrongdoer?
>

It actually shouldn't but the more tabs are open, the more possibilities, 
that something can go wrong.

At the moment Mozilla tries to improve protecting different open tabs from 
each other. So if one tab crashes, it shouldn't cause problems for others.
Mozilla calls this project: Electrolysis. It should land in the stable 
FireFox versions in mid 2016.
 

> Anyway, the addons
>

IMO you have several AddOns that seem to do the same thing. ... imo 
problematic, since they could interfere.

 

> BetterPrivacy
> Google Analytics Opt-out Browser Addon
>

I don't know those AddOns, but have a look at: 
http://www.ghacks.net/2015/11/02/firefox-42-find-out-what-is-new/ 
especially: "Private Browsing with Tracking Protection"
May be this built in mechanism fits your needs already. So may be no AddOns 
needed. Or may be you find one, that does it all.

I'm testing this mechanism and comparing it with "AddBlock Plus" at the 
moment. 
 

> Dwonload YouTube Videos as MP4
> VideoDownloadHelper
>

Seems to do the same thing??
 

> HDS Link detector
> RT News
>

Don't know them.
 

> Safe as PDF
> Web2PDFConverter
>

IMO no add on needed. Depending on your OS you may have a printer driver, 
that can print every thing to PDF. So have a look at your native printer 
drivers. See below.
 

> TiddlyClip
> TiddlyFox
>

*@Jeremy. Strong vote for TiddlyFox backup handling :)*
 

> Next ones are Switch off
> Microsoft.NEt Frameworl Assistent (No idea how that got there an dcant 
> seem to get it away.)
>

yea. Some MS plugins are really hard to remove.

 

> PDF Downlaod
>

Remove deactivated AddOns if you can _and_ you didn't enable them in the 
last 4 month. If you didn't touch them for a long time I think you don't 
need them. Installed and disabled can still cause problems.
 

> Quite a list I suppose, hope thsi amkes any sense to you
>

jup, quite a list. I try to use native OS capabilities if possible eg: 
"Microsoft print to PDF" printer driver.
Every browser AddOn has the potential to slow down the web rendering 
process. Since most of them analyse and probably modify the page. eg: 
special Link detection. ... So the viewer plugins, the better the 
performance. ..
 

> Anyway thanks to you and Tobias for taking the time to comment! 8-))
>

You are welcome
have fun!
mario

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9fac20f8-11b0-459e-9beb-9cd29cc2c78c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Quick Question TW5 State of the Art: Using Sliders?

2015-12-01 Thread Eric Shulman
On Tuesday, December 1, 2015 at 6:17:31 AM UTC-8, Ed wrote:
>
> Hi Eric really appreciate your trying to help. See email. 8-)
>
> But I am stuck.
>
> I did go for the global macro and tagged it the way it should be.
> I made a tiddler called "Slider Experiment" and three sliders that were to 
> open inside that "Slider Experiment"
> The Sliders were Called "SubSlider1", "SubSlider2" and "SubSlider3"
>
> I put in the macro that you showed me three times into "Slider Experiment".
> I could retain the label, but substituted "MoreInformation" with the names 
> of the three slider mentioned above.
>
> What exactly to do with "infoslider" in the macro was not clear to me. So 
> there you might hopefully can explain more.
>
Anyway I retained it in place in the macro.
>
> Result
> When saving and reloading I had three buttons, but clicking on any of them 
> made them alle disappear leaving me
> with a tiddler with only the title. Snifs.
>

The <> macro takes three parameters.  The ID param is used to name 
the "state tiddler" that keeps track of whether the slider is open or 
closed.  Sliders with the same ID will all open/close together.  Thus, you 
should specify a *unique* value for each slider so that they operate 
independently of each other.
 

>
> I sure don't want to be ungrateful as you know, but wasn't it possible to 
> create something that looked like
> > Title of Chapter (instead of using a button?) It looks more clean to me.
> I've seen several other people do it yhat way, but mostly it seemed not 
> easely repoducable for me; my knowledge being limited.
>

To make the button look like regular text, add the "tc-btn-invisible" CSS 
class to the button, like this:
<$button class="tc-btn-invisible">


-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b944b27c-8402-4106-8b44-3b9ec42a994b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: problems to make a javascript macro work

2015-12-01 Thread NT
Ok, that's a point. So I'll split the solution I want to have in two parts. 
First, a direct solution, second a solution with help of a javascript macro.
First things first:
I have a "normal" macro that works. It's:

\define d1jpg(filename) 
[img[./_new/Scout/$filename$.jpg]]
\end

That macro gets a uri filename like: 20150331_195734.mp4#t=0,17
The purpose of the macro is to store a path (./_new/Scout/) and to generate 
a valid image name out of the incoming filename.
But because of "#t=0,17" this is not trivial any more. So what I want now 
is to remove ".mp4#".
Since I did not know how to do it with wikitext my idea was to use a 
javascript macro instead of the macro above.
What shall be returned in this example would be 20150331_195734t=0,17.jpg 
as an image link like above.

But yes Mario, maybe you are right and there is a more simple solution to 
that than a javascript macro.
Thanks for your support!

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aaf2d5bf-ef31-4960-a9e7-680320cdaf18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.