[tw5] Re: action-setfield not changing value

2019-09-01 Thread MagoArcade
Perfect, thanks. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

[tw5] action-setfield not changing value

2019-09-01 Thread MagoArcade
Hi all, below is the heavliyt abridged code: \define NodePath() $:/plugins/felixhayashi/tiddlymap/graph/views/$(DDView)$/filter/nodes \end \define NodePathItem() $(orignodevalue)$ [field:tmap.id[$(tmapid)$]] \end <$set name="orignodevalue" tiddler=<> field=filter> <$button>Go!

[tw5] Update field of a Tiddler whose name derived from macro

2019-08-31 Thread MagoArcade
Hi. The below: \define NodePath() $:/plugins/felixhayashi/tiddlymap/graph/views/$(DDView)$/filter/nodes \end returns: $:/plugins/felixhayashi/tiddlymap/graph/views/TestView/filter/nodes I want to change the value of a field "filter" of the Tiddler of the name generated by the macro.

[tw5] Append text to Tiddler whose name is derived via a macro

2019-08-31 Thread MagoArcade
Hi. Consider below: \define NodePath() $:/plugins/felixhayashi/tiddlymap/graph/views/$(DDView)$/filter/nodes \end \define NodePathItem() {{!!text}} [field:tmap.id[$(tmapid)$]] \end NodePathItem is meant to produce a value which appends some text to the text field of the Tiddler named as the

[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-25 Thread MagoArcade
Wow - thanks Mark - that did it. That's some spot and some regex/tw coding right there! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread MagoArcade
Thanks. Attached -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread MagoArcade
Thanks again for the reply Mark. However, I just can't figure why the code's working your end but not mine. It looks like you've tested this code. But when I run mine, I get a different result. Mine: \define ViewTiddlerAppended() <$vars ViewText={{$(viewpath)$}}> VIEW TEXT: <> <$set

[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-19 Thread MagoArcade
s viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/map" > > > <> > > > > > > On Sunday, August 18, 2019 at 11:49:19 AM UTC-7, MagoArcade wrote: >> >> Let's say "$:/plugins/felixhayashi/tiddlymap/graph/views/map" contains >> the text "

[tw5] Re: Formatting DataTiddler Lists

2019-08-19 Thread MagoArcade
Thank Tony - you guessed right! I should have been more specific over the formatting requirments. I just changed my code to: <$list filter="[[$:/tiddlypom/DTNodeTypes]indexes[]sort[title]]" variable="key"> <> and it gave me what I needed - thanks. -- You received this message because

[tw5] Re: Small Color PIcker and RGB output

2019-08-18 Thread MagoArcade
thanks fella - that did the trick -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web

[tw5] Re: Small Color PIcker and RGB output

2019-08-18 Thread MagoArcade
put needed above. Any ideas? E.g. something like this format: <> On Sunday, 11 August 2019 21:15:40 UTC+1, Thomas Elmiger wrote: > > Hi MagoArcade, > > Maybe my Coloraction-Plugin > <https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2FColorAction> > c

[tw5] Re: Small Color PIcker and RGB output

2019-08-18 Thread MagoArcade
> On Sunday, August 11, 2019 at 11:07:59 AM UTC-7, MagoArcade wrote: >> >> How can I insert a small color picker into a tiddler and have it output >> to R,G,B format. The standard color picker has way too much associated with >> it (Doc link >> <https://tiddlywik

[tw5] Remove last character of a tiddler's text within a macro

2019-08-18 Thread MagoArcade
Let's say "$:/plugins/felixhayashi/tiddlymap/graph/views/map" contains the text "{line 1} Hello World}" (note the curly bracket) \define ViewPath() $:/plugins/felixhayashi/tiddlymap/graph/views/map \end \define ViewTiddlerAppended() {{$(ViewPath)$}}. Nice to see you. \end How do I get <> to

[tw5] Formatting DataTiddler Lists

2019-08-18 Thread MagoArcade
How to? I want results displayed inline with some custom text around the list results. Present code: <$list filter="[[$:/tiddlypom/DTNodeTypes]indexes[]sort[title]]" variable="key"> Example of working code for normal tiddlers (wanting in much the same format): <$list filter=<> > [<$view

[tw5] Re: Set tags field problems

2019-08-18 Thread MagoArcade
Thanks all. Went with BurningTree's answer in the end which worked well. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com.

[tw5] Set tags field problems

2019-08-18 Thread MagoArcade
HI all, I've tried various permutaions from macros to vars. I cant's set tags when these tags have spaces in them. Consider: <$wikify name="boardWikid" text={{!!SelBoard}} > <$action-setfield $tiddler=<> shorttext={{$:/_opTaskStore!!columnName}} tags=<> /> if !!SelBoard has a string with

[tw5] Append line text to text of Tiddler whose name is constructed from a macro

2019-08-18 Thread MagoArcade
Hi all. I'm trying to append a line of text to a tiddler whose name is constructed via a macro. Consider abridged code: \define MapLine() { "$(tmapid)$": { "x": 0, "y": 0 } } \end \define ViewPath(viewname) $:/plugins/felixhayashi/tiddlymap/graph/views/$viewname$/map \end <$select

Re: [tw5] Populate Select drop-down from folder structure

2019-08-12 Thread MagoArcade
Thanks for your replies, all. Especially to Felix as that looks ideal - just need to find some time to have a tinker. btw, Felix - it was your TiddlyMap plugin and Gould's Dropboard plugin that inspired me to get coding in tw! I'm trying to pull it all together to make a project management

[tw5] Re: Populate Select drop-down from folder structure

2019-08-11 Thread MagoArcade
Thanks Mat - I see your thinking. However, these tiddlers don't have any tags and it's from a 3rd party plugin, so I can't influence that. They do, however, have a unique field: "isview: true" - could I leverage this somehow in a filter? On Sunday, 11 August 2019 20:59:57 UTC+1, Mat wrote: > >

[tw5] Populate Select drop-down from folder structure

2019-08-11 Thread MagoArcade
OK - so here's a tricky one. How can I populate a select field in a tiddler from the folder structure available in TiddlyWiki>More>Explorer? I have this structure, which is dynamic: [image: tiddlymapviews.png] I want to grab everything under "views/" with no duplication and make it

[tw5] Small Color PIcker and RGB output

2019-08-11 Thread MagoArcade
Hi all, How can I insert a small color picker into a tiddler and have it output to R,G,B format. The standard color picker has way too much associated with it (Doc link ). eg: [image: colorpicker.png] All I

[tw5] Prevent delete option for individual tiddlers

2019-08-11 Thread MagoArcade
Any way to do this? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: [tw5] $view and date format: Is there anything wrong here?

2019-08-04 Thread MagoArcade
On Sunday, 4 August 2019 18:30:18 UTC+1, Jeremy Ruston wrote: > > In this case, we’re calling Date.UTC(0,0,0,0,0,0,0), which happens to > return Sun Dec 31 1899 00:00:00 GMT+ (Greenwich Mean Time) > Hey - that's when I was born! Things were so much simpler then... -- You received this

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
Brilliant, Mark - I'd never have thought of that given that it's using field manipulation on essentially tiddler text. That's some esoteric TiddlyWIki knowledge you got there! Thanks again. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
I tried it with both - no difference. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web

[tw5] Remove an item from Data Tiddler dictionary

2019-08-04 Thread MagoArcade
I'm writing a data tiddler editor, just with add and delete. Can;'t get delete working. Code below: !Edit Relationship Types Existing Types: <$list filter="[[$:/_DTrelTypes]indexes[]sort[title]]" variable="key"> ''Add New:'' <$edit-text tiddler="$:/temp/EditRelTypes"

Re: [tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Thanks Jeremy, that nudged me in the right direction. The key was rather than passing as parameters, set as vars in main body and use these in the macro. I'll be taking this approach rather than parameters from hereon in. Working code (not tackled the other issues, but seems to be working

[tw5] urgh.. brackets

2019-08-04 Thread MagoArcade
Hi all, Having problems constructing a string from various components. The output I'm looking for would be in this format (literal = to be stored in a tiddler field): {"31ada977-900e-4751-8549-8320014ab42f":{"to":"45e0e73a-0bdb-4a18-8452-8fdb59407bc6","type":"Subtask Of"}} My heavily

[tw5] Re: Case insensitive fuzzy search of title in filter?

2019-08-03 Thread MagoArcade
Thanks all. I'd forgotten about regex, which solved it: \define SearchTerm(term) (?i)($term$) \end Set Parent Item: <$edit-text tiddler="$:/_opTaskStore" field="itemsearch" tag="input" default ="" class='tc-edit-texteditor' placeholder='Test text'/> <$button set="$:/state/ItemSearch"

[tw5] Case insensitive fuzzy search of title in filter?

2019-08-03 Thread MagoArcade
Hi - I'm trying to write a fuzzy search routine. At the moment I only know how to search on the Prefix, but this only returns results on exact prefix matches of precise case. What I'm aiming for is something like below. Let's say I have 3 tiddlers: "The cat sat on the mat" "Cat littler

[tw5] Re: Weird $action-setfield issue - field getting set to previous value

2019-07-30 Thread MagoArcade
t; On Tuesday, 30 July 2019 19:50:57 UTC+1, MagoArcade wrote: > > OK. Tough to explain this one. I have a tiddler, *$:/_opNodeDetsEdit:* > > <$tiddler tiddler="$:/_opNodeDetsEditText"> > <$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/&g

[tw5] Weird $action-setfield issue - field getting set to previous value

2019-07-30 Thread MagoArcade
OK. Tough to explain this one. I have a tiddler, *$:/_opNodeDetsEdit:* <$tiddler tiddler="$:/_opNodeDetsEditText"> <$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/> Which produces this: [image: opNodesDetsEdit.png] *$:/_opNodeDetsEditText* is just a blank 'holder' tiddler. I

[tw5] Re: Autiosave tiddler created with tm-new-tiddler

2019-07-29 Thread MagoArcade
Birthe nailed it - thanks fella. With this approach you can create a new tiddler and specify the fields without it opening in edit view all in one go: <$action-setfield $tiddler="$:/_opEditNode" title=<> shorttext={{$:/_opTaskStore!!taskname}} description={{$:/_opNodeDetsEditText!!text}}

[tw5] Re: Autiosave tiddler created with tm-new-tiddler

2019-07-28 Thread MagoArcade
Thanks Mat, but I should have mentioned that it has to be the $action-sendmessage/tm-new-tiddler method (can't remember precisely why now, but this widget couldn't achieve everything I needed it to - thus having to use this method). On Sunday, 28 July 2019 22:57:57 UTC+1, Mat wrote: > >

[tw5] Autiosave tiddler created with tm-new-tiddler

2019-07-28 Thread MagoArcade
Hi. I want selected tiddlers created with $action-sendmessage/tm-new-tiddler to automatically save the new tiddler rather than open it to the user for editing. I tried a few permutations around the below - didn't work - I'm assuming this is because the $action-sendmessage/tm-sdave-tiddler is

Re: [tw5] Custom CSS for tiddler

2019-07-27 Thread MagoArcade
Awesome - thank you very much. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

[tw5] Custom CSS for tiddler

2019-07-27 Thread MagoArcade
Hi, I've perused the documentation here but can't understand/implement it I'm basically trying to hide the tags at the top of a specific tiddler. The way I was trying to do this was via implementing a custom css for

[tw5] Re: multi-line edit-text area?

2019-07-27 Thread MagoArcade
That's awesome thanks. It's almost like you read my mind! I wanted an editor in the 'front-end' of tiddlers rather than the 'back-end' (i.e. when you click edit. Your additional advice was going to be my next question! Got this implemented in my build now, so very happy. You don't also know

[tw5] multi-line edit-text area?

2019-07-27 Thread MagoArcade
Hi - read tw docs - no clues. I#m trying to display a mulit-line textbox in one of my tiddlers. Tried various attributes but only ever presented with a single line text field. How can I get a multi-line textbox and why don't the attributes work on edit-text? Example permutation of an attempt:

[tw5] Re: Turn field of external tiddler into a link to a tiddler of that name

2019-07-22 Thread MagoArcade
Thanks both. Will do. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

[tw5] Re: Concatenate this...

2019-07-22 Thread MagoArcade
Thanks Tony. TiddlyWiki is some kinda black-magic, 4th dimension, voodoo insane genius (meta upon meta - kinda a cross between OOP, procedural + the self-modifying code part of assembly)! parm={{{ [{!!title}addsuffix[/subtiddlers]] }}} > I do wonder if Jeremy should introduce a few more

[tw5] Re: Concatenate this...

2019-07-22 Thread MagoArcade
ha! Good answer. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit

[tw5] Re: Concatenate this...

2019-07-22 Thread MagoArcade
Bang! You got it - thanks again - I owe a few people around here a few beers. Coding this beast's a dark art - does it get any easier?? First language I learned a few years ago was batch + I thought that was difficult! -- You received this message because you are subscribed to the Google

[tw5] Concatenate this...

2019-07-22 Thread MagoArcade
Ok - so I'm trying to use a concatenated string as a field value in a new tiddler. Existing code: <$action-sendmessage $message="tm-new-tiddler" $param="_templateTask" title={{$:/_opTaskStore!!taskname}} shorttext={{$:/_opTaskStore!!description}} tmap.id={{{ [[]make[%uuid%]] }}}

[tw5] Re: Turn field of external tiddler into a link to a tiddler of that name

2019-07-22 Thread MagoArcade
Thanks fella, that worked. I'm really struggling to get my head around TiddlyWiki syntax... > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tw5] Turn field of external tiddler into a link to a tiddler of that name

2019-07-22 Thread MagoArcade
I must admit, the brackets systems baffles me in tiddlywiki! So, I have a tiddler named "$:/_opTaskStore" (shadow due to wanting to hide it form general view). Its fields hold data to be used later. What I am trying to do is retrieve the value from one of its fields from another tiddler (let's

[tw5] Re: Problems getting $action-createtiddler to populate variable via SaveTitle

2019-07-21 Thread MagoArcade
Ha. I have no idea! It's just what dropped out of the bottom of 2 hours of fishing around and trial and error! It did also solve my original problem too around storing the final used name into a field. Using one of the the same 'dummy' tiddler's fields to store it and read it back again did

[tw5] Re: Problems getting $action-createtiddler to populate variable via SaveTitle

2019-07-21 Thread MagoArcade
Thanks Watt. In the end I went for another approach, leveraging a single, temporary tiddler; populating all fields from action-createtiddler (avoiding all that clumsy action-navigate stuff) and seems to work OK: !Add Task -- Task Name: <$edit-text tiddler="$:/_opTaskStore"

[tw5] Problems getting $action-createtiddler to populate variable via SaveTitle

2019-07-21 Thread MagoArcade
Hi all - I can't figure out how to save the final name used by $action-createtiddler into a variable in the originating tiddler. Basically, I want to enter all of the data used in a template tiddler's field and then click a button and a new tiddler is created with the relevant fields populated

[tw5] Re: RegEx not working in filter despite correct format

2019-07-21 Thread MagoArcade
That did the trick thanks. :) Blimey - TiddlyWiki is proving quite a monster to code in. Not sure if it's me just not getting it or it's quite different to what I'm used to. Are there any good alternative guides to coding in tw? I find the official a bit lacking in detail (like this issue for

[tw5] RegEx not working in filter despite correct format

2019-07-20 Thread MagoArcade
Hi - having problems with variables in filters. The code below doesn't produce any results: \define rx_TidID_RelType(Tid RelType) "$Tid$".*"$RelType$" \end - ''All Sub-tasks of this tiddler'' <$set name=rxSearch value=<>> rxSearchTerms: <> <$list filter="[regexp:tmap.edges]">

[tw5] Re: Unexpected variable behaviour in filter

2019-07-20 Thread MagoArcade
rackets. So > your second filter should be like: > > filter="[regexp:tmap.edges]"> > > Good luck! > > On Saturday, July 20, 2019 at 2:13:49 PM UTC-7, MagoArcade wrote: >> >> Reading this would imply you can include variables in filters, but >

[tw5] Unexpected variable behaviour in filter

2019-07-20 Thread MagoArcade
Reading this would imply you can include variables in filters, but enclosing the variable name in "<>" However, my code is behaviour differently. This: ''For this Catagory:'' <$set name=catID value=087aa75e-ec77-4cd2-a774-c41c0ee52382> Var catID: <> <$list

[tw5] Re: sorry - newbie: how do I include a (transcluded?) link in a TiddlerTemplate?

2019-07-20 Thread MagoArcade
Thanks for the reply - it's actually quite difficult to explain things clearly when you're just starting out! Given that all the terminology is new and in the case of TiddyWiki, the concepts to some degree, it's hard to know the right way to explain things! However, I'll try again. I have made

[tw5] sorry - newbie: how do I include a (transcluded?) link in a TiddlerTemplate?

2019-07-20 Thread MagoArcade
Errr, how to explain? I'm constructing a Tiddler Template for a task template. It'll contain verious informaiton about the task it eventualyl becomes. Some exalpe code in it: Task Details: |!Field|!Value| |>| Map | |caption|{{!!caption}}| |tmap.id|{{!!tmap.id}}| |tmap.edges|{{!!tmap.edges}}|

[tw5] Re: Filtering Lists by a field that contains multiple sub-fields

2019-07-20 Thread MagoArcade
Loved that song - "feed your head" indeed! On Saturday, 20 July 2019 19:00:22 UTC+1, Watt wrote: > > 50 years ago! > > https://youtu.be/Vl89g2SwMh4 > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: Filtering Lists by a field that contains multiple sub-fields

2019-07-20 Thread MagoArcade
Thanks for the answer, Watt. Miraculously (I have no idea how) I managed to solve it myself. It's probably hacky and would welcome a more eloquent answer, but I used a combination of regex and a variable to hold it (even used that there 'transclusion' to hold the variable value in a tiddler +

[tw5] Filtering Lists by a field that contains multiple sub-fields

2019-07-20 Thread MagoArcade
TiddlyWiki is making my brain hurt. I'm following the white rabbit down the relevant hole and I can't handle the meta. So - I'm an amateur coder - so do bear with me - this aint my day job. It's taking some adjustment - even to using the online documentation! I'm using TiddlyMap. Here's how

[tw5] Re: Newbie breaks Control Panel

2019-07-20 Thread MagoArcade
test post testing images on gg. Large size: [image: map2.png] On Friday, 19 July 2019 16:39:21 UTC+1, MagoArcade wrote: > > I've had this a couple of times now whilst using the desktop client > (haven't tried to re-create via other serving means). It seems to stop > display

[tw5] Re: Newbie breaks Control Panel

2019-07-19 Thread MagoArcade
Doh! Ah the pleasures of learning new stuff! Thanks BTC + appreciating a community that doesn't leap to "rtfm" On Friday, 19 July 2019 17:20:13 UTC+1, BurningTreeC wrote: > > Hi MagoArcade, > > It's the folded state which is on, just open the ControlPanel's dropdown

[tw5] Newbie breaks Control Panel

2019-07-19 Thread MagoArcade
I've had this a couple of times now whilst using the desktop client (haven't tried to re-create via other serving means). It seems to stop displaying the usal options, but if you edit it as a shadow copy - it's all there. Also, if open in new window - opens correctly. Vid:

[tw5] Re: [tw] Re: [TW5] WebDav Saver Observations.

2019-07-18 Thread MagoArcade
Hmm. Just thinking how to do this test without doing a full re-install. If I were to disable your plugin and then change the auth method to Basic - would that test your scenario. I'm very confident about the 'one shot' save when using Windows Auth - it was a clear pattern - restart server -

[tw5] Re: [tw] Re: [TW5] WebDav Saver Observations.

2019-07-18 Thread MagoArcade
Thanks for the feedback - have updated things accordingly. I can confirm that re-enabling compression works fine. Also - your vids linked from mine and the blog. Thanks for your input into this. On Thursday, 18 July 2019 08:21:24 UTC+1, PMario wrote: > > Hi, > I did link to your video, from

[tw5] Re: [tw] Re: [TW5] WebDav Saver Observations.

2019-07-17 Thread MagoArcade
@PMario - you, sir, are a star. That just nudged me enough to get it all working! It also came with additional rewards. Not only can I edit my wiki securely (due to the password protection through webdav) but I can also edit it on my LAN with TiddlyDesktop (putting it in a shared network

[tw5] Re: [tw] Re: [TW5] WebDav Saver Observations.

2019-07-16 Thread MagoArcade
Hi all - did this result in a dead end? I'm trying to serve tw via IIS and Webdav to enable editing over the internet. Have it connecting fine in terms of reading, but consistently get "Error whilst saving: File changed on server" no matter how much I tinker with WebDav/Auth/SSL settings.

[tw5] HTTP Error 500.19 On IIS Setup

2019-07-16 Thread MagoArcade
Hi, New to TiddlyWiki an excited to get this up and running. Great concept - quite revolutionary. I'm trying to get a setup running on my IIS10 Windows Home Server. I followed the guide point by point (including installing git) but sadly got a HTTP 500 error I followed the guide here: