[tw] is popup preview tooltip a possibility?
I would like to have the ability to make link tooltips become a fully functioning popup (i.e. from which you could open links and even have pop-ups work within) I would like it to behave with the same delay that a link tooltip has to avoid popups from a simple sweep of the mouse. Are there any plugins existing that do this or could be tweaked for such a purpose? Something like the popup you get using the @ in a nested slider sticky popup. When I didn't find anything here (are the search results here limited compared to before, or is it just my imagination?) I looked at tiddlytools and found PopupPreviewPlugin, but you have to shift click the link rather than just hover for a while, and the popups are not fully functional. Any ideas? Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] why does newHere work in any tiddler, but references doesn't?
they're both toolbar commands, so if one works, shouldn't the other? just wondering... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] any way to include tiddler title size with FontSizePlugin?
I have the same version of FontSizPlugin that Dave Gifford has here: http://giffmex.org/experiments/NoteStorm.html#FontSizePlugin (Saq's originating site seems to be not working) I'd like the tiddler titles to change in size as well as the main text. Does anyone know how to do that? Thanks in advance, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~--~~~~--~~--~--~---
[tw] tiddlyweb questions etiquette
I am aware of the tiddlyweb google group: http://groups.google.com/group/tiddlyweb?lnk= but it appears to be quite advanced, i.e. like the tiddlywiki dev google group. When I have simple (potential) user questions about tiddlyweb, should I post here or there? thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] macro within a macro?
I have a tiddler with a new tiddler macro: newTiddler tag:ProblemsList label:add problem title:input short description of problem here text:{{store.getTiddlerText (ProblemTemplateWith)}} and the text at ProblemTemplateWith is tiddler ProblemTemplate2 with: 'view title', but it doesn't work I also tried: tiddler ProblemTemplate2 with: {{tiddler.title}}, but that doesn't work either I need the new tiddler to have reference to its own title, so for example I'd have a tiddler titled right shoulder pain and the text would be: tiddler ProblemTemplate2 with: right shoulder pain, or some way of getting the tiddler macro to automatically use its own title in the with portion. Does anyone have any ideas? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] bold in listbox?
Hello, I know you can do this in the tiddler that makes up the list for a listbox (ListboxPlugin by Eric): head nbsp eye=eye which shows eye indented under a non-indented head I'd like to have more formatting in the lists, and I tried this for bold: blow back/b=low back but it doesn't work, and if I use ''low back'', the bolding shows in the tiddler, but not in the listbox that refers to that tiddler. Is there another way to do this, maybe wikify the listbox somehow? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] today date format question
Hi, If I use this: today ddd,mmm.DD., I get this: Tue,Jul.14.2009 but if I use this: today ddd, mmm DD, , I get this: Tue, Does anyone know what I'm doing wrong? It happens in 2.5 and 2.2.6 Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] trying to use ListBoxPlugin like formTiddler... on wrong track?
Hi, I was hoping to somehow get a really minimal amount of stuff to show up in the tiddler body when editing a tiddler that has a lot of ListBoxPlugin elements - you know, like when you edit a formTiddler tiddler and see just formTiddler templateTiddler and the data stuff here /data I have a ShowWhen thing happening in the edit template (ProblemTemplateEdit) and that works great, but I have another template tiddler to view the fields with and I was hoping to not see much of that when I open the tiddler to edit the fields. I tried tiddler ProblemTemplate and it just showed blank fields, and I tried a ShowWhen thing in the viewTemplate and that also just showed empty fields. Is there another way of doing this, or should I just drop this line of thinking? (I was possibly going to contruct a table with a FET statement, but wanted to see if there's any way of getting the ShowWhen to work...) thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] how to get checkboxes to print in Safari?
Hi, I'm using TiddlyPocketBook ( http://tiddlypocketbook.com/ ) and I have to use safari to get it to print right. Unfortunately when I print a page with a checkbox in it, the checkbox does not get printed. Is there a fix for this? thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] editTiddler in body
I would like to be able to have a button in the tiddler body that would open up the tiddler for editing. The reason is that I'd more likely than not be doing this from a pop-up where you don't see the toolbar. I tried editTiddler but that didn't work. any suggestions? thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: how do you transclude a custom field?
Those multiple ways of writing fields in a FET will be handy, as will the ability to edit fields in a pop-up (assuming that's what you're talking about in the first part) Thank you cmari, -Dave On Jun 5, 8:17 pm, cmari cema...@gmail.com wrote: One (somewhat inelegant) method for viewing and editiing the fields of Tiddler1 from inside Tiddler2 (i.e., in transclusion): 1. Get the FieldsEditorPlugin (http://visualtw.ouvaton.org/ VisualTW.html) 2. In the text of Tiddler1 (which contains the field[s] that you will want to view in transclusion), add the macro: toolbar fields 3. Once you've done that, if you put the macro tiddler [[Tiddler1]] inside Tiddler2, you'll be able to click the fields button to display and change the fields in Tiddler1. There are at least three different ways to show the contents of custom fields if you're using fET (though this is obviously not transclusion anymore): 1 write 'wikify \%0\ [[myfieldname@+tiddler.title+]]\\' 2 write 'store.getValue(tiddler,myfieldname)' 3 write '(tiddler.fields[myfieldname])' cmari On Jun 5, 6:28 pm, Dave Parker cedar...@telus.net wrote: Can I assume that you can write a wikify ... macro by FET? (I'll try it anyway, but that's the first question that comes to mind) Thanks very much! Dave p.s. just curious - is this ability likely to be written into the core like the slice and section transclusions? It seems like it should be, but what do I know? On Jun 5, 5:15 pm, Eric Shulman elsdes...@gmail.com wrote: I tried view [[Tiddler name]] fieldname but that didn't work... http://www.TiddlyTools.com/#WikifyPlugin allows you to easily produce formatted output from values stored in tiddler fields, tiddler slices, internal variables, literal constants, and/or computed macro parameters For your given use-case, you could write: wikify %0 fieldn...@tiddlername The first macro param defines the desired output format, and can contain any text you want, along with embedded substitution markers: %0, %1, %2, , %9. The remaining macro params specify the corresponding values to be inserted in place of the markers. In this particular case, the format is just %0, meaning that the first parameter value (fieldn...@tiddlername) will simply be output by itself without any other static text. Note: the implementation of the fieldn...@tiddlername syntax is provided directly by WikifyPlugin, and therefore cannot be used in any of the standard TW core macros where simple fieldnames are expected (e.g., view fieldname, edit fieldname, etc.). However, you *can* use this enhanced syntax within the select macro that is defined by TiddlyTools' ListboxPlugin, so that it can also set/use values stored as custom fields in other tiddlers. enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] how do you transclude a custom field?
I see on tiddlywiki.org how to transclude slices and sections, but not fields. I tried view [[Tiddler name]] fieldname but that didn't work... I'm sure this ability must exist, but I just can't find it. Anyone? thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] ListboxPlugin: branching or sub lists to select from?
Hello all (, and by all I mostly mean Eric :-) I'm using the ListboxPlugin and quite like it. I'm starting to make tiddlers with the lists of items to select from and some of them are getting quite long. Is there any way to structure those lists in a branching or sub-menu way? Kind of like this head -face -frontal -temporal -parietal shoulder -AC joint -GH joint -clavical -medial scapula etc... Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: ListboxPlugin: branching or sub lists to select from?
Thank you! On Jun 3, 2:58 pm, Eric Shulman elsdes...@gmail.com wrote: I'm using the ListboxPlugin and quite like it. I'm starting to make tiddlers with the lists of items to select from and some of them are getting quite long. Is there any way to structure those lists in a branching or sub-menu way? Although the items in the list cannot opened/closed like a true 'tree view' display, you can add one or more leading nbsp; characters to selected list items to give them an indented *appearance*, like this: head nbsp; face=face nbsp; frontal=frontal nbsp; temporal=temporal nbsp; parietal=parietal shoulder nbsp; AC joint=AC joint nbsp; GH joint=GH joint nbsp; clavical=clavical nbsp; medial scapula=medial scapula By using the label=value syntax, the labels displayed in the list will include the indentation, while the actual values returned by selecting those items will not. enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: ListboxPlugin: branching or sub lists to select from?
One interesting thing I discovered (for anyone else following along) is that you can have different listboxes in the same tiddler that have the same fieldname - that works to the same purpose too. When you pick valueX from +template3 (lets say you also refer to +template1 and +template2 in two other listboxes e.g.), the same value is displayed as other: valueX in the other two listboxes (even if allowOther is not included in the macro), and the value of the customfield itself is valueX. That's pretty neat! and now for something a little different... Here's another idea that might make sense... what if you had an option called add that was like other and edit list combined. In other words, you pick that and a text box opens like with other and then it adds the entry to the end of the list in the source tiddler. Would that be desirable or easy to do? -Dave On Jun 3, 3:13 pm, Dave Parker cedar...@telus.net wrote: Thank you! On Jun 3, 2:58 pm, Eric Shulman elsdes...@gmail.com wrote: I'm using the ListboxPlugin and quite like it. I'm starting to make tiddlers with the lists of items to select from and some of them are getting quite long. Is there any way to structure those lists in a branching or sub-menu way? Although the items in the list cannot opened/closed like a true 'tree view' display, you can add one or more leading nbsp; characters to selected list items to give them an indented *appearance*, like this: head nbsp; face=face nbsp; frontal=frontal nbsp; temporal=temporal nbsp; parietal=parietal shoulder nbsp; AC joint=AC joint nbsp; GH joint=GH joint nbsp; clavical=clavical nbsp; medial scapula=medial scapula By using the label=value syntax, the labels displayed in the list will include the indentation, while the actual values returned by selecting those items will not. enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] general question about custom fields and TW file size
This is a question about best practices for using custom fields. Lets say that you have a very data-intensive TW file, and while any given tiddler you make that could have fields values could potentially have 100s or even 1000s of field values, in actuality only a small handful would actually be activated by placing a value there. Do all those potential fields actually take up memory somewhere, or does it only take up memory when you edit it from the original null value? I guess what I'm asking is this: Should I have a large amount of fields in any one tiddler, or is it a better practice to tag related tiddlers together, each with the different subsets of the many fields possible - that way if a certain subset is not being used it won't take up extra memory? I hope this question makes sense... Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: ListboxPlugin with multiple select
Thank you Eric, that make me very happy! You know you really ought to put your hat on your picture on tiddlytools so people will know who you are (you know, the red felt hat with the fuzzy white brim and pom at the end ;-) Dave On May 31, 4:29 pm, Eric Shulman elsdes...@gmail.com wrote: you indicated that you might add multiselect capability to the ListboxPlugin. Is that something you'd still consider doing, or maybe its already there and I can't see how to do it? (I tried multiselecting using ctrl+click in a multi-row listbox but it didn't work.) I had completely forgotten about adding multi-select... thanks for the reminder. I've just completed a re-write to add allowMultiple as an optional macro param. When present, you will then be able to use ctrl-click and/or shift-click to choose multiple items in a listbox (but *not* in a droplist... they just don't support multi-select... sorry.) Note: although you can now choose multiple values, they will still be stored within the single specified 'target' tiddler field, using a space-separated list format (with [[...]] brackets around values that contain spaces). Get the update (v1.2.0) here: http://www.TiddlyTools.com/#ListboxPlugin http://www.TiddlyTools.com/#ListboxPluginInfo enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] select multiple items with ListboxPlugin?
Hi Eric, in this thread: http://groups.google.com/group/TiddlyWiki/browse_thread/thread/c174651c67633604/48d3dab915f23446?lnk=gstq=listbox+multiple#48d3dab915f23446 you said you'd consider allowing multiple item selection in listboxes with multiple rows. Is there currently a way to do this? I tried using control+click to select multiple selections, but it's not working. Should I switch to use DataTiddler/FormsTiddler if I want this instead? thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] ListboxPlugin with multiple select
Hi Eric, in this thread from last year: http://groups.google.com/group/TiddlyWiki/browse_thread/thread/c174651c67633604/48d3dab915f23446?lnk=gstq=listbox+multiple#48d3dab915f23446 you indicated that you might add multiselect capability to the ListboxPlugin. Is that something you'd still consider doing, or maybe its already there and I can't see how to do it? (I tried multiselecting using ctrl+click in a multi-row listbox but it didn't work.) If I need this functionality would I be better off switching to using Data/FormTiddler Plugin (I hope not - I love the ease of use of ListboxPlugin)? Thanks , Dave Parker (sorry that I posted twice - I posted once, but it never showed up for a while, and then it showed up empty) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] how to edit custom fields in view mode
Hi there, I have this in my viewtemplate: div macro=showWhen tiddler.tags.contains('problem')[[test 2009.05.27]]/div and in the tiddler test 2009.05.27 I have: Favourite food: span macro=edit favouritefood/span when I create a tiddler tagged problem, I get the custom field's label and edit box, and I can enter info there, but when I click close, there's a message that says are you sure you want to abandon your changes to (tiddler name) I assume its because this is meant for edit mode where you can click done to save changes. Is there any way around this so I can edit these fields in view mode and have it stick? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: how to edit custom fields in view mode
That works great, thanks! On May 27, 5:28 pm, Måns humam...@gmail.com wrote: Hi Dave Try Eric Shulmans EditFieldPluginhttp://www.tiddlytools.com/#EditFieldPlugin Regards Måns Mårtensson On May 28, 1:21 am, Dave Parker cedar...@telus.net wrote: Hi there, I have this in my viewtemplate: div macro=showWhen tiddler.tags.contains('problem')[[test 2009.05.27]]/div and in the tiddler test 2009.05.27 I have: Favourite food: span macro=edit favouritefood/span when I create a tiddler tagged problem, I get the custom field's label and edit box, and I can enter info there, but when I click close, there's a message that says are you sure you want to abandon your changes to (tiddler name) I assume its because this is meant for edit mode where you can click done to save changes. Is there any way around this so I can edit these fields in view mode and have it stick? Thanks, Dave Parker- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] popup of tiddler with formTiddler missing contents
Hi, I have a tiddler with a nested slider popup like this +++^* tiddler Problem1 === and the tiddler called Problem1 has this in it: formTiddler ProblemTemplatedata{location:sdfgsdfg,referral to:elbow,course:better}/data When I click the slider to show the pop-up, the little box around the pop-up only borders part of the tiddler, and the field boxes extend beyond the right border and are empty. When I open the tiddler normally it is fine. Any ideas? Thanks, DP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: popup of tiddler with formTiddler missing contents
I think you're on to something... the fix does work for viewing the form tiddler in the pop-up, but it disables the viewing of the form tiddler in the straight right from the tiddler way... Any ideas? (he said hopefully :-) Thanks, Dave On May 22, 10:23 pm, Eric Shulman elsdes...@gmail.com wrote: The slider isn't really the issue. The problem is that data in a form tiddler does not appear in transclusion (e.g., when using the tiddler macro) - all you can see is the outline of the form, not the contents of the form fields. The problem originates with the 'lookup function' that [[FormTiddlerPlugin]] is using to identify the tiddler in which the formTiddler macro and data.../data block are stored (the source tiddler). Here's what that function currently looks like: -- config.macros.formTiddler.getContainingTiddlerName = function(element) { return story.findContainingTiddler(element).id.substr(7);} -- Unfortunately, story.findContainingTiddler() (a standard TW core function) always returns the title of the *outermost* containing tiddler -- in this case, the one that invokes the tiddler macro -- rather than name the actual source tiddler that was transcluded when that macro was processed. This, of course, produces the results that you have observed: the plugin is unable to retrieve the form data, because it is looking in the wrong tiddler! Fortunately, there may be a relatively easy solution... The key is to know that, whenever a tiddler is displayed in the story column, it is contained within a 'wrapper' element that includes a special tiddler attribute that holds the title of the current tiddler. Similarly, whenever a tiddler macro is processed, the transcluded content is also contained in a wrapper element that has its own tiddler attribute, set to the title of the source tiddler that was transcluded. The fix involves re-defining the FormTiddlerPlugin lookup function, so that it will find the *innermost* wrapper that has a tiddler attribute, and then use *that* value to retrieve the correct data.../data block. We can do this by adding an extra tiddler, e.g., [[FormTiddlerPluginTweak]], tagged with 'systemConfig', with the following replacement code: -- config.macros.formTiddler.getContainingTiddlerName = function(e) { // find transcluded OR containing tiddler while(e !e.getAttribute(tiddler)) e=e.parentNode; return e?e.getAttribute(tiddler):e;}; -- PLUS: as an added bonus, because 'transclusion' via the tabs macro works the same way as the tiddler macro (i.e., it sets the tiddler attribute of the containing wrapper), this 'tweak' should also fix the same problem when using forms from within tabs! Give it a try and let me know what happens... enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: FatSlicePlugin
Thanks Paul, I'll give it a try... DP On May 20, 3:38 am, Paul Downey (psd) paul.s.dow...@gmail.com wrote: There's a discussion here:http://groups.google.com/group/TiddlyWiki/browse_frm/thread/546c0d777... ...back in October about this experimental plugin that gives you slices with multiple columns I think the word experimental was really around whether the functionality was suitable for inclusion in the core. I don't think that conversation has moved on since then. The plugin is here: http://whatfettle.com/2008/07/FatSlicePlugin/ http://svn.tiddlywiki.org/Trunk/contributors/PaulDowney/plugins/FatSl... Is this something that will be worked on any further? Well, it does what I needed at the time, and little more. What I mean is, should I be using this in a big project, or is there a more current/ stable way of doing the same thing now? Not that I'm aware of .. I suggest you give it a whirl, and let me know if you have any issues .. I'm keen for this not to balloon, so might push back on requests for new features, but that doesn't stop you or anyone else building a version which better suites their needs, in fact I'd encourage that since there may indeed be better approaches in this area worth exploring. Paul (psd) --http://blog.whatfettle.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] re: FatSlicePlugin
There's a discussion here: http://groups.google.com/group/TiddlyWiki/browse_frm/thread/546c0d7774b520f6/abcec5030aa58280?lnk=gstq=fat+slice ...back in October about this experimental plugin that gives you slices with multiple columns Is this something that will be worked on any further? What I mean is, should I be using this in a big project, or is there a more current/ stable way of doing the same thing now? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: age calculation from date of birth
Ok, for sake of completion, and for anyone else who might be looking for this someday, here's what worked for me. Its a modification of something Udo B wrote for someone a while back, and FND recently helped me with the rounding. So someone with a Date of Birth 2000-01-01 should read as 9.4 years old. Its a FET that looks at the date of birth which is stored in the title of a tiddler, and that tiddler has a tag called Age (which for convenience I've also titled the tiddler that contains this FET.: forEachTiddler where 'tiddler.tags.contains(Age)' sortBy '(tiddler.title)' script ' // Returns the first line of the string // function getFirstLine(s) { var m = s.match(/\s*(.*)/); return m != null m.length = 1 ? m[1] : ; } // Returns the number of days between two dates. // // Only the year,month and day of the dates are considered. // // if date2 date1 the result will be negative. // function getDaysBetween(date1, date2) { date1 = new Date(date1.getFullYear(),date1.getMonth(),date1.getDate ()); date2 = new Date(date2.getFullYear(),date2.getMonth(),date2.getDate ()); return ((date2.getTime()-date1)/8640).toFixed(); } // Returns the date given by the string s // // @param s String of format -MM-DD (- may be any char) // @param defaultValue returned when s is not a valid date. // // @return a Date object representing the given date. // function parseDate(s, defaultValue) { try { return new Date(parseInt(s.substr(0,4),10), parseInt(s.substr(5,2),10)-1, parseInt(s.substr(8,2),10)); } catch(e) { return defaultValue; } } function getYearsLeftText(tiddler) { return Math.round(((getDaysBetween(new Date(),parseDate (tiddler.title, new Date(/-365)*10)/10+ years old; } ' write 'getYearsLeftText(tiddler)+\n' -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: age calculation from date of birth
I found a reminder format for birthdays in the following: reminder format:ANNIVERSARY month:01 day:01 firstyear:2000 which gives the correct number (9) but when you do it with this date: reminder format:ANNIVERSARY month:11 day:01 firstyear:2000 it still says (9) Seeing as today's date is between the two I'd expect the second to display (8) Does anyone know what I'm doing wrong? Thanks, -Dave On Apr 17, 10:09 pm, Dave Parker cedar...@telus.net wrote: Thanks Mike, I think I'll try playing with the reminder plugin and see if I can tweak it to go backwards (although I don't really know what I'm doing) I'll post back later if it works. Dave On Apr 17, 9:45 pm, Mike eris...@gmail.com wrote: I haven't tried this - but maybehttp://www.tiddlytools.com/#TiddlerTweakerPlugin You could try setting the creation date of the tiddler as the starting date (birthday) Good Luck, Mike (Let me know if that works -.- otherwise beyond my understanding) On Apr 17, 10:01 pm, Dave Parker cedar...@telus.net wrote: thanks Mike and M), I could use both of these. As I'm looking to make use of the calendar/date/reminder plugins I'd like to get that one going. When you do the newReminder in the example, it only gives you the current year and future years, not previous years. Do you (or anyone) happen to know how to get it to go either forward or backward in time? thanks, Dave On Apr 17, 8:27 pm, Mike eris...@gmail.com wrote: newReminder Should give you a drop down list to set the date For an annual occurrence try: reminder month:09 day:20 title:~TiddlyWiki's First Release Anniversary firstyear:2004 Which adds the first year syntax and gives a total years = 5 showReminders Also lists your upcoming reminders. . . Some more examples:http://remindermacros.tiddlyspot.com/#[[Simple%20examples]]http://remindermacros.tiddlyspot.com/#showRemindersSyntax (Click edit to see the code) Not sure how familiar with TW you are, let me know if that gets you started. Good Luck, Mike On Apr 17, 7:02 pm, M) marc.bu...@gmail.com wrote: Not quite what you are after, but you can use scriptvar a=new Date ();document.write(a.getFullYear()-1919);/script withhttp://www.tiddlytools.com/#InlineJavascriptPlugin. Remindermacros has something similar though with significantly more features. M) On Apr 17, 3:47 pm, Dave Parker cedar...@telus.net wrote: Hi, does anyone know how to display in one tiddler a personsage, based on the contents of a tiddler called DateOfBirth? I've looked at maybe usinghttp://remindermacros.tiddlyspot.com/but can't figure it out. thanks, Dave Parker- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: age calculation from date of birth
thanks Mike and M), I could use both of these. As I'm looking to make use of the calendar/date/reminder plugins I'd like to get that one going. When you do the newReminder in the example, it only gives you the current year and future years, not previous years. Do you (or anyone) happen to know how to get it to go either forward or backward in time? thanks, Dave On Apr 17, 8:27 pm, Mike eris...@gmail.com wrote: newReminder Should give you a drop down list to set the date For an annual occurrence try: reminder month:09 day:20 title:~TiddlyWiki's First Release Anniversary firstyear:2004 Which adds the first year syntax and gives a total years = 5 showReminders Also lists your upcoming reminders. . . Some more examples:http://remindermacros.tiddlyspot.com/#[[Simple%20examples]]http://remindermacros.tiddlyspot.com/#showRemindersSyntax (Click edit to see the code) Not sure how familiar with TW you are, let me know if that gets you started. Good Luck, Mike On Apr 17, 7:02 pm, M) marc.bu...@gmail.com wrote: Not quite what you are after, but you can use scriptvar a=new Date ();document.write(a.getFullYear()-1919);/script withhttp://www.tiddlytools.com/#InlineJavascriptPlugin. Remindermacros has something similar though with significantly more features. M) On Apr 17, 3:47 pm, Dave Parker cedar...@telus.net wrote: Hi, does anyone know how to display in one tiddler a persons age, based on the contents of a tiddler called DateOfBirth? I've looked at maybe usinghttp://remindermacros.tiddlyspot.com/but can't figure it out. thanks, Dave Parker- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: age calculation from date of birth
Thanks Mike, I think I'll try playing with the reminder plugin and see if I can tweak it to go backwards (although I don't really know what I'm doing) I'll post back later if it works. Dave On Apr 17, 9:45 pm, Mike eris...@gmail.com wrote: I haven't tried this - but maybehttp://www.tiddlytools.com/#TiddlerTweakerPlugin You could try setting the creation date of the tiddler as the starting date (birthday) Good Luck, Mike (Let me know if that works -.- otherwise beyond my understanding) On Apr 17, 10:01 pm, Dave Parker cedar...@telus.net wrote: thanks Mike and M), I could use both of these. As I'm looking to make use of the calendar/date/reminder plugins I'd like to get that one going. When you do the newReminder in the example, it only gives you the current year and future years, not previous years. Do you (or anyone) happen to know how to get it to go either forward or backward in time? thanks, Dave On Apr 17, 8:27 pm, Mike eris...@gmail.com wrote: newReminder Should give you a drop down list to set the date For an annual occurrence try: reminder month:09 day:20 title:~TiddlyWiki's First Release Anniversary firstyear:2004 Which adds the first year syntax and gives a total years = 5 showReminders Also lists your upcoming reminders. . . Some more examples:http://remindermacros.tiddlyspot.com/#[[Simple%20examples]]http://remindermacros.tiddlyspot.com/#showRemindersSyntax (Click edit to see the code) Not sure how familiar with TW you are, let me know if that gets you started. Good Luck, Mike On Apr 17, 7:02 pm, M) marc.bu...@gmail.com wrote: Not quite what you are after, but you can use scriptvar a=new Date ();document.write(a.getFullYear()-1919);/script withhttp://www.tiddlytools.com/#InlineJavascriptPlugin. Remindermacros has something similar though with significantly more features. M) On Apr 17, 3:47 pm, Dave Parker cedar...@telus.net wrote: Hi, does anyone know how to display in one tiddler a persons age, based on the contents of a tiddler called DateOfBirth? I've looked at maybe usinghttp://remindermacros.tiddlyspot.com/but can't figure it out. thanks, Dave Parker- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Tiddlywiki and Google indexing again
I know from looking into this in the past that there is a bit of a limitation in the sense that the server versions don't work with the most recent TWs... is this still the case? Dave On Mar 19, 6:59 am, FND f...@gmx.net wrote: have there benn some developments since I last looked that make Google indexing more efficient? This might be of interest: http://tiddlywiki.org/wiki/TiddlyWiki_As_a_Website Having said that, both ccTiddly and TiddlyWeb provide static content for crawlers to index, and we're using Martin's SplashScreenPlugin to bake some static content into Osmosoft.com. -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: speaking of plugin/macro tutorials...
That's exactly what I was looking for. I'll try to make it a habit to search your site as well before posting here in the future. Thanks muchly Eric! Dave On Mar 16, 3:11 am, Eric Shulman elsdes...@gmail.com wrote: whatever you need to have a button in the tiddler that you can click Try these examples: http://www.TiddlyTools.com/#HelloWorldPlugin enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] error on Dev:Custom Macros tutotial?
FYI if you're trying to learn about how to write plugins/macros here: http://tiddlywiki.org/wiki/Dev:Custom_Macros there's a part that has this code: config.macros.foo.handler = function(place, macroName, params, wikifier, paramString) { var prms = paramString.parseParams(null, null, true); var bar = getParam(prms, key); alert(bar); }; I couldn't get it to work right, so I changed it to this: config.macros.foo = { handler: function(place, macroName, params, wikifier, paramString) { var prms = paramString.parseParams(null, null, true); var bar = getParam(prms, key); alert(bar); } }; and foo key:bar baz seemed to work with that. I know you're supposed to be able to edit that site, but I'm not certain enough (as I'm just learning) that the original wasn't meant to point out something other than what I thought it was supposed to. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] speaking of plugin/macro tutorials...
How would you change this: config.macros.helloWorld = { handler: function (place, macroName, params, wikifier, paramString, tiddler) { // this will run when macro is called from a tiddler var who = params[0] || 'world'; wikify('Hello //' + who + '// from the ' + macroName + ' macro in tiddler ' + tiddler.title + '.', place); } }; which spits out Hello all you TW fans from the helloWorld macro in tiddler CallToMacro. in the tiddler when you open it, to whatever you need to have a button in the tiddler that you can click to get the same result? I've been searching for macro and button but not getting anywhere. Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] conflict between FET and TiddlerWithEditPlugin?
Is there a known conflict here? http://worldenglishbible.tiddlyspot.com/ If you click on Matthew or any of the items on the right to open up the tiddler with the pagewise FET you'll get the first 12 verses, each of which are the contents of individual tiddlers. If you then double- click one of those verses, it'll open up not the FET tiddler but the verse tiddler for editing (because of the TiddlerWithEditPlugin). Here's the wierd behaviour: if you now done/close that verse tiddler, then press the next button on the FET tiddler, and then the back button to the first set, the verse/tiddler that you opened to edit is now missing, and will stay missing until you reload the entire TW. Is this fixable? Thanks, Dave (6.8M, takes 30-60 seconds to load) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: conflict between FET and TiddlerWithEditPlugin?
It looks like this is a problem with Udo's original script, or maybe how it acts in a recent (2.4.3) TW (??) If you go to http://tiddlywiki.abego-software.de/ and search for pagewise. then edit that tiddler, then click 'done', the listing of itself stays (normal behaviour), but when you download his TW and do the same thing from the local file, the tiddler listed disappears just like I've noted in mine. Udo? Are you out there? -Dave On Mar 10, 11:11 am, Dave Parker cedar...@telus.net wrote: Is there a known conflict here?http://worldenglishbible.tiddlyspot.com/ If you click on Matthew or any of the items on the right to open up the tiddler with the pagewise FET you'll get the first 12 verses, each of which are the contents of individual tiddlers. If you then double- click one of those verses, it'll open up not the FET tiddler but the verse tiddler for editing (because of the TiddlerWithEditPlugin). Here's the wierd behaviour: if you now done/close that verse tiddler, then press the next button on the FET tiddler, and then the back button to the first set, the verse/tiddler that you opened to edit is now missing, and will stay missing until you reload the entire TW. Is this fixable? Thanks, Dave (6.8M, takes 30-60 seconds to load) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: need help using variables and custom fields in pagewise FET
Thanks for your patience Eric, It works now... I swear I looked at the two side-by-side ten times! But my wife would attest that I'm not good at finding things right in front of me :-) Dave On Mar 9, 12:17 am, Eric Shulman elsdes...@gmail.com wrote: It doesn't do anything now when you click on the buttons :-( Actually, it does do something... it causes a program error! Look at the ToolsError Console (you may have to scroll to bottom). You should see an error that says: parseint is not defined I'm certain I put exactly what you said. not *exactly*... I wrote: parseInt(...), you wrote parseint(...). Javascript functions and variable names are *case-sensitive*. -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] need help using variables and custom fields in pagewise FET
I think if I keep the value of each tiddler's counting in a custom field (called VerseCount) I can solve my problem, even if window.fetStartIndex is changed by another tiddler. My problem is I don't know how to properly handle all the different types of variables here. I tried adding this before the above FET: script var CountValue = store.getValue(tiddler, VerseCount); /script and then change the button code to this createTiddlyButton(context.place,,null, function(e) { CountValue -= window.fetItemsPerPage; store.setValue (tiddler.title, VerseCount, CountValue); window.fetStartIndex = CountValue; story.refreshTiddler (context.viewerTiddler.title,null,true); }); createTiddlyButton(context.place,,null, function(e) { CountValue += window.fetItemsPerPage; store.setValue (tiddler.title, VerseCount, CountValue); window.fetStartIndex = CountValue; story.refreshTiddler (context.viewerTiddler.title,null,true); }); this doesn't work because I don't really know how to handle the different uses of variables. Could someone smart please tell me what I'm doing wrong? Thanks, DP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: need help using variables and custom fields in pagewise FET
Thank you Eric for explaining that about the global variables and the fact that fields have to all be lower case. Your code does kind of work, but its adding as text, not as math, e.g. if I start with versecount of 0, then press the button, the versecount (and thus the window.fetStartIndex) becomes 015, then 01515. Is there a way to indicate that it should all be in math? Thanks for your help, -Dave On Mar 8, 6:32 pm, Eric Shulman elsdes...@gmail.com wrote: script var CountValue = store.getValue(tiddler, VerseCount); /script * This actually creates another global variable, window.CountValue, which isn't really necessary since store.getValue() can be called later on, in response to pressing the or buttons (see suggested code changes below). * Custom field names must be *all lower case* (due a known limitation in the core). Thus, you have to use versecount or verse_count or just vc, instead of VerseCount. So, eliminate the global entirely, and then write the 'button' code to look something like this: createTiddlyButton(context.place,,null, function(e) { var c=store.getValue(tiddler,vc)-window.fetItemsPerPage; store.setValue(tiddler.title,versecount,c); window.fetStartIndex = c; story.refreshTiddler(context.viewerTiddler.title,null,true); }); createTiddlyButton(context.place,,null, function(e) { var c=store.getValue(tiddler,vc)+window.fetItemsPerPage; store.setValue(tiddler.title,versecount,c); window.fetStartIndex = c; story.refreshTiddler(context.viewerTiddler.title,null,true); }); (note: untested code) enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: need help using variables and custom fields in pagewise FET
I'm being a pest, but would you mind looking at it? Its at www.worldenglishbible.tiddlyspot.com and you just go to Matthew in the list of books (no permalink in Firefox) It doesn't do anything now when you click on the buttons :-( I'm certain I put exactly what you said. And sorry, it takes a while to load (6.7 M - I'm afraid by the time I finish this it'll need a really fast computer to run it) Thanks Eric -Dave On Mar 8, 10:34 pm, Eric Shulman elsdes...@gmail.com wrote: Your code does kind of work, but its adding as text, not as math, e.g. if I start with versecount of 0, then press the button, the versecount (and thus the window.fetStartIndex) becomes 015, then 01515. oops! to convert the retrieved text into a number, use the parseInt (...) function, like this: var c=parseInt(store.getValue(tiddler,vc))- window.fetItemsPerPage; -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: need help using variables and custom fields in pagewise FET
oops, I mean http://worldenglishbible.tiddlyspot.com/ On Mar 8, 11:38 pm, Dave Parker cedar...@telus.net wrote: I'm being a pest, but would you mind looking at it? Its atwww.worldenglishbible.tiddlyspot.com and you just go to Matthew in the list of books (no permalink in Firefox) It doesn't do anything now when you click on the buttons :-( I'm certain I put exactly what you said. And sorry, it takes a while to load (6.7 M - I'm afraid by the time I finish this it'll need a really fast computer to run it) Thanks Eric -Dave On Mar 8, 10:34 pm, Eric Shulman elsdes...@gmail.com wrote: Your code does kind of work, but its adding as text, not as math, e.g. if I start with versecount of 0, then press the button, the versecount (and thus the window.fetStartIndex) becomes 015, then 01515. oops! to convert the retrieved text into a number, use the parseInt (...) function, like this: var c=parseInt(store.getValue(tiddler,vc))- window.fetItemsPerPage; -e- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Pagewise conundrum
Hello, I've been playing around with Udo's pagewise script for ForEachTiddler usage. I thought it was my Big Answer to what I have in mind but have come up against a large block in the road: it seems that the variable window.fetStartIndex is global, not per tiddler. What I had in mind was to be able to have more than one tiddler open at a time, each displaying a subset of a long list of tiddlers, but each showing only tiddlers with a certain tag (different for each tiddler). What I've realized, however, is that when you click the button to skip to the next set of tiddlers in the progression of one set, the index is changed globally and when you go back to the other tiddler and click to see the next set, the count doesn't match where you left off because of the changes you just made in the prior tiddler. *** Does anyone know a way around this? *** thanks, Dave Parker Here's the pagewise script for reference (the @ in it I replace with whatever tag I'm looking to list): forEachTiddler where 'tiddler.tags.contains(@)' script ' window.fetItemsPerPage = 15; function getHeader(context,count) { if (!window.fetStartIndex || window.fetStartIndex 0) window.fetStartIndex = 0; // ensure not to page behind the last page if (window.fetStartIndex = count) window.fetStartIndex = Math.min(Math.max (window.fetStartIndex-window.fetItemsPerPage,0),count-1); createTiddlyButton(context.place,,null, function(e) { window.fetStartIndex -= window.fetItemsPerPage; story.refreshTiddler (context.viewerTiddler.title,null,true); }); createTiddlyButton(context.place,,null, function(e) { window.fetStartIndex += window.fetItemsPerPage; story.refreshTiddler (context.viewerTiddler.title,null,true); }); var startNo = window.fetStartIndex+1; var endNo = Math.min(count,window.fetStartIndex +window.fetItemsPerPage); return (+startNo+ - +endNo+ of + count + verses)\n \n; } ' write '(index = window.fetStartIndex) (index window.fetStartIndex + 15) ? tiddler +[[+tiddler.title+]]+\ \\n: ' begin 'getHeader(context,count)' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Midstream index FET
Wow, Ken - you're a mind reader! That's exactly what I need Thank you so much for taking the time to let me know about that (that was going to be my next step - to ask how to make some sort of buttons to go up and down within the list) have a great day, -Dave On Mar 5, 10:24 pm, Ken Girard ken.gir...@gmail.com wrote: You might also want to look at:http://tiddlywiki.abego-software.de/#[[%27Pagewise%27%20list%20all%20Tiddlers%20%2810%20Tiddlers%20per%20page%2C%20with%20page%20up%2Fdown%20buttons%29]] 'Pagewise' list all Tiddlers (10 Tiddlers per page, with page up/down buttons) Ken Girard On Mar 5, 7:04 pm, Dave Parker cedar...@telus.net wrote: thank you, cmari, that works great! -Dave On Mar 5, 4:15 pm, cmari cema...@gmail.com wrote: Hi Dave, I'm sure there are more elegant ways to do it, but it should be possible to use: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 4 index 18) ? * [[+tiddler.title+]]\n : ' cmari On Mar 5, 12:25 pm, Dave Parker cedar...@telus.net wrote: Hello, another FET question here. This example: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 10) ? * [[+tiddler.title+]]\n : ' from Udo's site lists the first 9 tiddlers described, but not the ones after that. Is there a way to put it so that the output would be, say the 5th through the 17th, but not before or after? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Midstream index FET
I noticed that with the Pagewise script there's a variable in it: window.fetStartIndex that seems to refer to a value that gets maintained (i.e. which tiddlers in the list you've been viewing) even when you close the tiddler and come back to it... Does anyone know a way to set that at a certain value in a link to that tiddler (from within a different tiddler), e.g. have a series of pretty links or buttons, say one with a value at the mid point, another at 2/3 the way through? Thanks, Dave On Mar 6, 9:51 am, Dave Parker cedar...@telus.net wrote: Wow, Ken - you're a mind reader! That's exactly what I need Thank you so much for taking the time to let me know about that (that was going to be my next step - to ask how to make some sort of buttons to go up and down within the list) have a great day, -Dave On Mar 5, 10:24 pm, Ken Girard ken.gir...@gmail.com wrote: You might also want to look at:http://tiddlywiki.abego-software.de/#[[%27Pagewise%27%20list%20all%20Tiddlers%20%2810%20Tiddlers%20per%20page%2C%20with%20page%20up%2Fdown%20buttons%29]] 'Pagewise' list all Tiddlers (10 Tiddlers per page, with page up/down buttons) Ken Girard On Mar 5, 7:04 pm, Dave Parker cedar...@telus.net wrote: thank you, cmari, that works great! -Dave On Mar 5, 4:15 pm, cmari cema...@gmail.com wrote: Hi Dave, I'm sure there are more elegant ways to do it, but it should be possible to use: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 4 index 18) ? * [[+tiddler.title+]]\n : ' cmari On Mar 5, 12:25 pm, Dave Parker cedar...@telus.net wrote: Hello, another FET question here. This example: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 10) ? * [[+tiddler.title+]]\n : ' from Udo's site lists the first 9 tiddlers described, but not the ones after that. Is there a way to put it so that the output would be, say the 5th through the 17th, but not before or after? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Midstream index FET
Hello, another FET question here. This example: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 10) ? * [[+tiddler.title+]]\n : ' from Udo's site lists the first 9 tiddlers described, but not the ones after that. Is there a way to put it so that the output would be, say the 5th through the 17th, but not before or after? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Midstream index FET
thank you, cmari, that works great! -Dave On Mar 5, 4:15 pm, cmari cema...@gmail.com wrote: Hi Dave, I'm sure there are more elegant ways to do it, but it should be possible to use: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 4 index 18) ? * [[+tiddler.title+]]\n : ' cmari On Mar 5, 12:25 pm, Dave Parker cedar...@telus.net wrote: Hello, another FET question here. This example: forEachTiddler where 'tiddler.tags.contains(basic)' write '(index 10) ? * [[+tiddler.title+]]\n : ' from Udo's site lists the first 9 tiddlers described, but not the ones after that. Is there a way to put it so that the output would be, say the 5th through the 17th, but not before or after? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: FET write without the FET?
Hi Eric, thanks for that script. I'm going with: script return +++[.] [[notes+tiddler.title+]] tiddler [[notes+tiddler.title+]]===; /script because I can just plunk it in to any tiddler and the Notes tiddler for that is already there to click on (just empty at first) Here's the twist I'm not sure how to get around: The small tiddler this script is in, is itself part of a larger tiddler that is including (via tiddler TiddlerName) it. And, to boot, I'm using Saq's TiddlerWithEdit plugin that allows me to double click on the included small tiddler within the bigger one and go to edit the small one directly. So when I click on the note for that small tiddler I can add notes to it and see it there, but when I go back to the bigger tiddler and view it, the same script in that one thinks tiddler.title is referring to that big tiddler and not the original small one. any suggestions? thanks again, Dave On Mar 3, 11:12 am, Eric Shulman elsdes...@gmail.com wrote: script write '+++[.] [[notes+tiddler.title+]]+tiddler +[[notes+tiddler.title+]]+\\===' /script the error I get is: ReferenceError: write is not defined There are several ways to render the output from an inline script. The easiest method is to simply *return* the wiki-formatted text that you want to have rendered, like this: script return +++[.][[notes+tiddler.title+]]tiddler [[notes+tiddler.title+]]===; /script Note: for simple substitutions of values such as tiddler.title, you could also just use the tiddler macro with a computed parameter... First, create the tiddler to be transcluded (e.g., [[AddNotes]]), with content like this: +++[.][[notes$1]]tiddler [[notes$1]]=== Then, embed it in other tiddler content like this: tiddler AddNotes with: {{tiddler.title}} When rendered from a tiddler called FooBar, this will produce: +++[.][[notesFooBar]]tiddler [[notesFooBar]]=== QED. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] autoshrink edit box?
Is there a way to auto-resize edit boxes to //shrink// them when there's only a few lines of text? I tried using autosizeEditor in the toolbar, but that seems to work the opposite - it makes the edit box really big when the tiddler has a lot of text, but it doesn't shrink it when there's only a few lines. Ideally I'd like it to shrink for all tiddlers with a certain tag (but I'd be happy with just all tiddlers) Any ideas? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: convert sections to tiddlers?
Thanks Eric! You are a master of time and space ok, at least a master of time - If I can get this to work right this'll save me hours (days? weeks?) of trying to write an autohotkey script to do (less than) the same thing. I'll tinker with it for a few days before I ask anything more about it... :-) Dave On Feb 27, 5:04 pm, Eric Shulman elsdes...@gmail.com wrote: Is there any existing method / plugin that would allow you to convert a tiddler with sections into a bunch of sub-tiddlers named by their former section name? Although it's not a perfect fit, you might try this inline script: http://www.TiddlyTools.com/#SplitTiddler (requires InlineJavascriptPlugin) Use a separator of \n!, and choose first word of item as the title option. Then press the split button to generate the separate tiddlers. You might have to do a little bit of cleanup afterwards, but it should get you most of the way there... enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: convert sections to tiddlers?
Okay, I did get it to work the way it was designed to work - so I don't have questions about that, but I was trying to change the script so that the new tiddler had the source tiddler's name at the beginning of the new name, e.g. if source was title = Bob text = !asdf sdfgsdfgsdfg !qwer qwerqwerqwer then the first new tiddler would be Bob asdf and the second Bob qwer etc. I tried adding src+ in front of several places that looked like it might be making the new tiddler's name but I couldn't get it to work. would you mind pointing out what I'd have to change in order to get it to do that please? (I feel like Oliver Twist: 'Please, sir, I want some more.' ) Thanks Eric, Dave p.s. You didn't just write this, did you? On Feb 27, 6:09 pm, Dave Parker cedar...@telus.net wrote: Thanks Eric! You are a master of time and space ok, at least a master of time - If I can get this to work right this'll save me hours (days? weeks?) of trying to write an autohotkey script to do (less than) the same thing. I'll tinker with it for a few days before I ask anything more about it... :-) Dave On Feb 27, 5:04 pm, Eric Shulman elsdes...@gmail.com wrote: Is there any existing method / plugin that would allow you to convert a tiddler with sections into a bunch of sub-tiddlers named by their former section name? Although it's not a perfect fit, you might try this inline script: http://www.TiddlyTools.com/#SplitTiddler (requires InlineJavascriptPlugin) Use a separator of \n!, and choose first word of item as the title option. Then press the split button to generate the separate tiddlers. You might have to do a little bit of cleanup afterwards, but it should get you most of the way there... enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: convert sections to tiddlers?
That worked great!! Thank you so much! Live long and prosper! Dave On Feb 27, 9:53 pm, Eric Shulman elsdes...@gmail.com wrote: Okay, I did get it to work the way it was designed to work - so I don't have questions about that, but I was trying to change the script so that the new tiddler had the source tiddler's name at the beginning of the new name, e.g. ok. interesting suggestion. I just added a new checkbox: [_] use source title as prefix (default is UN-checked for backward-compatibility with current usage) Get the update here: http://www.TiddlyTools.com/#SplitTiddler p.s. You didn't just write this, did you? I think I first wrote SplitTiddler about a year ago, and it's had a few refinements and added features since then based on requests (just like today's update). enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] CoreTweaks for TW 2.4.3 and section jumps
Hi Eric, when you have a minute would you mind helping me get this working please? I put the above mentioned CoreTweaks in my TW and when I try a [[tiddler##section]] link, the browser tries to find a local file called tiddler##section instead of going to the tiddler and autoscrolling. This sounds familiar but I couldn't find it in a search here. Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Wanted: hack for when TW stops saving changes
Every now and then my TW stops saving (see link) http://groups.google.com/group/TiddlyWiki/browse_frm/thread/9896131e06dcb304/30a90b2c153c0647?lnk=gstq=save+parker#30a90b2c153c0647 The last time it happened I tried viewing the page source and copying and pasting it into a new text file and ending it with .html, but that wasn't the unsaved version - it was the old saved version. So I ended up having to copy tiddlers into a word document and pasting it back into the TW after a reboot. When this happens in the future, is there a secret way to force the TW in RAM (not sure if that's the proper way to say it) to save? (or a way to copy the info to paste it into a new file)? Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Wanted: hack for when TW stops saving changes
thank you Eric, I'll try that next time it happens. Also I'll post back to that other thread if I figure out what's causing it. I'm suspecting it has something to do with my recent adoption of windows Live Mesh, but not certain. Dave On Jan 2, 10:35 am, Eric Shulman elsdes...@gmail.com wrote: is there a secret way to force the TW in RAM [...] to save? Try Eric's SaveAsPlugin: http://www.tiddlytools.com/#SaveAsPlugin http://www.tiddlytools.com/#SaveAsPluginInfo This *might* work, but it may also be affected by whatever problem is preventing normal saving from working. Here's an alternative technique for performing an 'emergency save' that *should* work even if the regular file save functionality is broken: http://www.TiddlyTools.com/#FAQ_RescueStoreArea http://www.TiddlyTools.com/#RescueStoreAreaCommand Basically, this inline script uses the current runtime tiddler data to generate a text block containing the HTML that defines a TW 'storeArea'. It then displays this text in another browser window. It is then up to you to 'rescue' the data by copying it from that window and pasting it into an empty TW document (using an external text editor). The FAQ article includes detailed instructions explaining what to copy and where to paste it. Sure, it's a manual process... but it's almost 100% guaranteed to produce usable results (if it's done right). ... and, because this script is an 'instant bookmarklet' [1], you don't have to have pre-install in a document in order to use it! In fact, to 'install' it, just go to the URL above and then drag-and-drop the Rescue Store Area link directly onto your browser's toolbar (if using IE, right-click and 'add to favorites'). That's it... once the link is added to your browser's toolbar, you won't need to add it again, and you can use it with *any* TiddlyWiki document at any time to extract the runtime storeArea data. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios [1] For more inline script functions that can be dragged to your browser's toolbar, see: http://www.TiddlyTools.com/#InstantBookmarklets --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Wanted: hack for when TW stops saving changes
Oh, and thank you FND as well!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] It's not possible to save changes....
I've read this http://groups.google.com/group/TiddlyWiki/browse_frm/thread/b9aa0bd891bf05b1/91554e358fb6186c?lnk=gstq=its+not+possible+to+save+changes#91554e358fb6186c and this http://groups.google.com/group/TiddlyWiki/browse_frm/thread/482cd99a06bdf39c/102c40472656dee1?lnk=gstq=its+not+possible+to+save+changes#102c40472656dee1 and I'm still having trouble saving my TWs, both on firefox and IE. It works for a while, then stops working until I reboot the computer. I don't get the unblock button showing up, and I don't have an antivirus software and my UAC is turned off. I checked and it happens on 2.2.6 and 2.4 versions. Any further suggestions? DP --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: weird date problem
thanks both of you for replying :) Eric, this makes sense. I'll try putting it behind a slider in the main menu instead of in the menu plainly. I assume that will fix the problem. Dave On Dec 19, 5:11 am, Eric Shulman elsdes...@gmail.com wrote: I assume because I have ss in there (seconds) that if I click the button again within 30 seconds it should generate a tiddler with a date30 seconds later, but it doesn't. It just returns drawing. 2008.12.11..9.44.22 (1) i.e. the same one it just did but with the (1) added. Am I misunderstanding how this should work, or is this a bug? The parameter values are calculated when the newTiddler macro is *rendered*, and in this particular case, the macro doesn't actually perform an action at that time, but simply creates a 'button' (link) and saves the parameters with that button, so that when it is subsequently clicked, it can actually create the new tiddler using those values. Note however, that once the link has been rendered, it is *not* rendered again (unless the tiddler in which it contains is refreshed, of course). Thus, the computed values that were used the first time around remain in place for each additional click on the link. -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: weird date problem
so what you're saying is that I need to just have a simple link on the mainmenu to open a tiddler with the launch button in it. Is that right? On Dec 27, 3:58 pm, Eric Shulman elsdes...@gmail.com wrote: Eric, this makes sense. I'll try putting it behind a slider in the main menu instead of in the menu plainly. I assume that will fix the problem. The TW core slider macro renders the slider content right away, even if the slider panel is not initially visible. If you use TiddlyTools' NestedSlidersPlugin, then you can use the 'deferred rendering' feature (the ... syntax) to create a 'lazy slider' that will not be rendered until it is displayed. However... this is not sufficient to solve your problem, because once the slider is rendered, the same computed parameter has already been calculated problem exists. -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: weird date problem
Wow, that works perfect, thanks Eric! For anyone interested in the ultimate goal of this, here's the final autohotkey script that I launch with an Alt-P right after clicking the new paint button Eric made for me. !p:: ;-- this is the launch key combination send ^c ;-- control-C (copy) sleep 500 ;-- slow computer, have to wait for it... title = %clipboard% ;--put the contents of clipboard into variable title send^{enter} ;-- to close the tiddler Run emptyJpg.jpg ;-- run an empty paint file in the current directory WinActivate, emptyJpg.jpg ;--make the paint window be the active window sleep 500 ;-- slow computer, have to wait for it... send !fa ;-- alt, file, save As sleep 500 ;-- slow computer, have to wait for it... send %title% ;--to put the title contents into the save As textbox return enjoy! Dave p.s. I suppose you could theoretically skip having to type in the Alt- P hotkey combo by deleting the !p:: part and just adding a launchApplication statement that runs the autohotkey script to the script Eric supplied... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] weird date problem
I have this in a 2.4 TW: tiddler __dummy with:{{ window._today=new Date().formatString(drawing..0MM.0DD..hh.0mm. 0ss); window._bitmap=new Date().formatString(drawing..0MM.0DD..hh.0mm. 0ss.jpg); }}newTiddler title: {{_today}} label:new paint prompt:create a new bitmap tiddler text:{{ '[img['+_bitmap+']]\n' + 'LaunchApplication edit this bitmap click ' + _bitmap + ' \'; }} tag: paint I assume because I have ss in there (seconds) that if I click the button again within 30 seconds it should generate a tiddler with a date 30 seconds later, but it doesn't. It just returns drawing. 2008.12.11..9.44.22 (1) i.e. the same one it just did but with the (1) added. Am I misunderstanding how this should work, or is this a bug? Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: modifying newJournal
Thanks BramChen, that was exactly what I needed!! here's the modified version I'm using now (I forgot to use img instead of tiddler) tiddler __dummy with:{{ window._today=new Date().formatString(drawing..0MM. 0DD..hh.mm.ss); window._bitmap=new Date().formatString(drawing..0MM. 0DD..hh.mm.ss.jpg); }}newTiddler title: {{_today}} label:new paint prompt:create a new bitmap tiddler text:{{ '[img['+_bitmap+']]\n' + 'LaunchApplication edit this bitmap click ' + _bitmap + ' \'; }} tag: paint On Dec 7, 11:54 am, BramChen [EMAIL PROTECTED] wrote: tiddler __dummy with:{{ window._today=new Date().formatString(bitmap -0MM-0DD); window._bitmap=new Date().formatString(bitmap-0MM-0DD.bmp); }}newTiddler title: {{_today}} label:new paint prompt:create a new bitmap tiddler text:{{ 'tiddler [['+_bitmap+']]\\n' + 'LaunchApplication edit this bitmap ' + _bitmap + '\'; }} tag: paint enjoy, -- Bram Chenhttp://ptw.sf.net/ On 12月6日, 上午7時09分, Dave Parker [EMAIL PROTECTED] wrote: woops, I timed out, here it is again okay, I think I may have found something close to what I need: newJournal bitmap -0MM-0DD label:new paint prompt:create a new bitmap tiddler text:{{tiddler [[bitmap -0MM-0DD]] + '' + + '' + \ + LaunchApplication edit this bitmap bitmap -0MM-0DD.bmp+ \ }} tag:paint but I get an error in macro newJournal which I assume is from improper quotes use, but not too sure. Also I'm not sure if launching something that doesn't exist will give me the option to create it. any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] tiddler externalFile.txt doesn't seem to work anymore
Hello, I used to be able to view external text files with the above format to view any text file in the same folder as the viewing TW, as per here: http://groups.google.ca/group/TiddlyWiki/browse_frm/thread/34840cf1d39701fd/388652fa262628bf?hl=enlnk=gstq=tiddler+external+file#388652fa262628bf but it doesn't seem to work anymore. Do I have to use an old version of CoreTweaks? Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] how to use launchApplication from edit toolbar
I searched for launchApplication toolbar here and on the tiddlywiki.org site and macros but couldn't figure it out. Here's what I'm looking to do: I'd like to have a button labeled paint on the edit menu, that when pressed launches an autohotkey script that plunks in the date and time into the title, a certain word into tags, and another launchApplication statement with the name of the new fileName.bmp I will have just created (for future editing), and a tiddler fileName.bmp so I can see the drawing when I come back to the tiddler in the future. I'm guessing I'm going to have to declare something like .config.paint = bla bla bla somewhere, so I can plunk the word paint into the editTemplate toolbar line. Can anyone help me please? (I'm going to a seminar in a week that will involve a lot of drawing and I'd love to be able to keep a good flow going taking notes - If I draw on paper, I inevitably lose it before I get a chance to scan it in) Thanks, Dave Parker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: how to use launchApplication from edit toolbar
okay, I think I may have found something close to what I need: newJournal bitmap -0MM-0DD label:new paint prompt:create a new bitmap tiddler text:{{tiddler [[bitmap -0MM-0DD]] + '' + + '' + \ + LaunchApplication edit this bitmap bitmap -0MM-0DD.bmp+ \ }} tag:paint but I get an error in macro newJournal which I assume is from improper quotes use, but not too sure. Also I'm not sure if launching something that doesn't exist will give me the option to create it. any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] modifying newJournal
woops, I timed out, here it is again okay, I think I may have found something close to what I need: newJournal bitmap -0MM-0DD label:new paint prompt:create a new bitmap tiddler text:{{tiddler [[bitmap -0MM-0DD]] + '' + + '' + \ + LaunchApplication edit this bitmap bitmap -0MM-0DD.bmp+ \ }} tag:paint but I get an error in macro newJournal which I assume is from improper quotes use, but not too sure. Also I'm not sure if launching something that doesn't exist will give me the option to create it. any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
I love it when the answer turns out to be so simple... Thanks Eric - you're the man! -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
Thanks for the info, is there any replacement in the works for the capability of partTiddlerPlugin to have parts within one paragraph? e.g. part one bla bla bla wqer qwer qwer /partpart twoasasd as asdf asdf sdf sdfg sdfg sdfg /part as far as I can tell, there is no way to do that with sections or slices. Thanks again, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
thanks, I'll try that Dave On Dec 1, 7:47 am, FND [EMAIL PROTECTED] wrote: is there any replacement in the works for the capability of partTiddlerPlugin to have parts within one paragraph? No - that would indeed be plugin territory then. Maybe all that's needed to make PartTiddlerPlugin work again are the deprecated functions: http://www.tiddlywiki.com/coreplugins.html#DeprecatedFunctionsPlugin HTH. -- F. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
Yes, thanks Wolfgang, I've come across that (or at least the hiding aspect) in the various threads. My next objective is to figure out how to use headings like this: !paragraph one (one) asdf asd f asdf as df asd sd fg dsf g sdf !paragraph two (two) zxcxzcv xzcv cxv cxvb zxcv zxc zxcv zxc and then hide the actual heading - that way I will be able to have normal looking paragraphs in a big tiddler and still refer to individual ones from another by the tiddler [[BigTiddler##paragraph one]] method or the zoom to specific paragraph method using Eric's CoreTweaks and a link like this [[link|BigTiddler##paragraph one]] On Dec 1, 9:01 am, wolfgang [EMAIL PROTECTED] wrote: Hi Dave, is there any replacement in the works for the capability of partTiddlerPlugin to have parts within one paragraph? I use the new section fuctionality also inside tables,ie: tiddler title: Samples |Foo|tiddler [[Samples##Lorem]]| |Bar|tiddler [[Samples##Ipsum]]| /% !Lorem Lorem ipsum dolor sit amet. !Ipsum Consectetur adipisicing elit. !end %/ Note the use of the invisible comments markers! Regards, W. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
Thanks Eric! That looks perfect - I'll play around with it tomorrow and post back here if I have questions. Dave On Dec 1, 10:08 am, Eric Shulman [EMAIL PROTECTED] wrote: aspect) in the various threads. My next objective is to figure out how to use headings like this: !paragraph one (one) asdf asd f asdf as df asd sd fg dsf g sdf !paragraph two (two) zxcxzcv xzcv cxv cxvb zxcv zxc zxcv zxc and then hide the actual heading - that way I will be able to have normal looking paragraphs in a big tiddler and still refer to Try this... First, add the following CSS to your StyleSheet: .hideHeadings H1 { display:none; } Then, use it like this: {{hideHeadings{ !HiddenSectionNameA ... section A content ... !end ... other content not in a section ... !HiddenSectionNameB ... section B content ... !end}}}after tiddler TestSections##HiddenSectionNameB tiddler TestSections##HiddenSectionNameA Note the use of '!end' to ensure that the sections end exactly where you want them to instead of simply taking everything up to the start of the next section. The use end is simply an arbitrary convention... there's special meaning to the next of that heading... it just has to be there to mark the end of the section. enjoy, -e --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: how to exclude certain tiddlers in FET write actions
Thanks, that works! Now that I see that, I know I should have searched for ! on Udo's website instead of exclude Dave On Dec 1, 5:01 pm, cmari [EMAIL PROTECTED] wrote: Add a where clause: forEachTiddler where '!tiddler.tags.contains(hide) ' Other really helpful examples are here:http://tiddlywiki.abego-software.de/#WhereClauseExamples cmari --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: PartTiddlerPlugin in TW version 2.4?
I tried that and it works great. I've got a whack load of text that I'm going to have to write an autohotkey script for translating from 1:1 bla bla bla 1:2 bla bla bla to {{hideHeadings{ !1:1 1:1 bla bla bla !end !1:2 1:2 bla bla bla !end }}} which I am able to do (autohotkey seems more natural to me than javascript). Before I go ahead and do that, my last question is this: If I'm willing to sacrifice the regular use of H1 headings in the entire document, is there a way, say in the stylesheet or page template to do that there? (that way, I'd just have the regular sections when I go to edit the tiddlers, and without the css in each tiddler it would speed up the rendering (on my slower computer I get the continue script? message)) Either way, thank you very much Eric!! Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] PartTiddlerPlugin in TW version 2.4?
I can't get PartTiddlerPlugin to work - Is it broken in TW version 2.4? I have this in a tiddler called PartSource: part 1.1|hidden1:1 bla bla bla. /partpart 1.2|hidden1:2 qwerqwewe wqer we. /part and this in another tidder called TestPart: I've tried tiddler [[PartSource/1.1]] , tiddler [[PartSource::1.1]] and tiddler [[PartSource##1.1]] but nothing works the funny thing is that the hidden aspect works, but not the remote access part. I keep on coming across links to various articles (about parts and slices etc) in tiddlywiki.org, but its been down for a few days now. Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: is there a way to jump to a section's original context?
I think I found my answer from this thread: http://groups.google.com/group/TiddlyWiki/browse_thread/thread/d9afc55b532d9f49/dfd8a313d03c8bc4?lnk=gstq=parttiddlerplugin# (in case someone looking for the same thing finds this thread first) Thanks Eric (where-ever you are) At present, Tiddler sections do not provide support for autoscrolling to an 'anchor point' within the body of a tiddler... ... but they do now!! Get the latest update: http://www.TiddlyTools.com/#CoreTweaks Tweak #784: allow tiddler sections in TiddlyLinks to be used as anchor points for intra-tiddler scrolling. Usage: embed a TiddlyLink containing a section reference, e.g. [[SomeTiddler##SomeSection]], in tiddler content. When the link is clicked [[SomeTiddler]] will be opened *AND* auto-scrolled so that the heading SomeSection is in view. see also: http://trac.tiddlywiki.org/ticket/784 enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] is there a way to jump to a section's original context?
lets say I have a big tiddler with many sections BigTiddler: !1.1 bla bla bla sdfsdf !1.2 more stuff bla bla and lets say I have a small tiddler with this: tiddler [[BigTiddler##1.2]] that just shows stuff from that section Is there a simple way to have a link of some sort in that small tiddler that not only opens the BigTiddler, but highlights the section within its context? What I have in mind would be like combining a pretty link with a search call for the text of that section name Thanks, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] VisualTW wysiwyg demo paste-in question
Hello, I was looking for something that would allow me to import or paste in rtf formatted documents into TW and automagically convert it into wiki markup. I read a discussion that said VisualTW could handle that (but using html), but when I go to the site and try out the demo, it doesn''t seem to work entirely - but maybe I'm doing it wrong... When (at http://visualtw.ouvaton.org/VisualTW.html) I go to Wysiwyg Demo and click on the wygiwyg button to edit and add stuff, I can copy the formatted text that's already there and paste it below and the formatting sticks, but when I copy text from an rtf file in another application, the formatting disappears when I paste that in. Is there something I'm obviously doing wrong? Also I thought of trying to test this in Eric's QuickEdit, but couldn't find any example tiddlers to try it out in. Would this work with that? - Dave P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---