I created a video so you guys could see what mistake(s) I am making and 
help me correct them, http://youtu.be/aRw5J_OOxDg
I also attached the json file below from the Action Widget json I exported 
at the end of the video.

Oh and Tobias I was using 5.1.8 as a test and I did it at the end of the 
video so you will see what I did.

Thanks everyone for all the help.

Rich Shumaker
[
    {
        "text": "! Introduction\n\nThe ''action-deletefield'' widget is an 
[[action widget|ActionWidgets]] that deletes specified fields of a tiddler. 
ActionWidgets are used within triggering widgets such as the 
ButtonWidget.\n\n! Content and Attributes\n\nThe ''action-deletefield'' 
widget is invisible. Any content within it is ignored.\n\n|!Attribute 
|!Description |\n|$tiddler |The title of the tiddler whose fields are to be 
modified (if not provided defaults to the [[WidgetVariable: 
currentTiddler]] |\n|$field |Optional name of a field to delete |\n|//{any 
attributes not starting with $}// |Each attribute name specifies a field to 
be deleted. The attribute value is ignored and need not be specified |\n\n! 
Examples\n\nHere is an example of a button that deletes the caption and 
tags fields of the current tiddler:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-deletefield 
caption tags/>\nDelete \"caption\" and \"tags\"\n</$button>'/>\n\nHere is 
an example of a button that deletes the modified date and tags fields of 
the tiddler HelloThere:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-deletefield 
$tiddler=\"HelloThere\" modified tags/>\nDelete \"modified\" and \"tags\" 
from ~HelloThere\n</$button>'/>\n\nHere is an example of a button that uses 
the optional $field attribute to delete the text field of the tiddler 
HelloThere:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-deletefield 
$tiddler=\"HelloThere\" $field=\"text\"/>\nDelete text from 
~HelloThere\n</$button>'/>\n",
        "caption": "action-deletefield",
        "created": "20141025120850184",
        "modified": "20141025120850184",
        "tags": "Widgets ActionWidgets",
        "title": "ActionDeleteFieldWidget",
        "type": "text/vnd.tiddlywiki"
    },
    {
        "text": "! Introduction\n\nThe ''action-deletetiddler'' widget is 
an [[action widget|ActionWidgets]] that deletes tiddlers. ActionWidgets are 
used within triggering widgets such as the ButtonWidget.\n\nThere are 
several differences compared to the [[WidgetMessage: 
tm-delete-tiddler]]:\n\n* The user is not prompted to confirm the 
deletion\n* No automatic updating of the story list\n* No special handling 
of draft tiddlers\n\n! Content and Attributes\n\nThe 
''action-deletetiddler'' widget is invisible. Any content within it is 
ignored.\n\n|!Attribute |!Description |\n|$tiddler |Optional title of the 
tiddler to be deleted |\n|$filter |Optional filter identifying tiddlers to 
be deleted |\n\n! Examples\n\nHere is an example of a button that deletes 
the tiddler HelloThere:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-deletetiddler 
$tiddler=\"HelloThere\"/>\nDelete \"~HelloThere\"\n</$button>'/>\n\nHere is 
an example of a button that deletes all tiddlers tagged 
[[TableOfContents]]:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-deletetiddler 
$filter=\"[tag[TableOfContents]]\"/>\nDelete tiddlers tagged 
\"~TableOfContents\"\n</$button>'/>\n",
        "caption": "action-deletetiddler",
        "created": "20141025120850184",
        "modified": "20141106173455527",
        "tags": "Widgets ActionWidgets",
        "title": "ActionDeleteTiddlerWidget",
        "type": "text/vnd.tiddlywiki"
    },
    {
        "text": "! Introduction\n\nThe ''action-navigate'' widget is an 
[[action widget|ActionWidgets]] that sends a [[tm-navigate|WidgetMessage: 
tm-navigate]] message back up the widget tree. ActionWidgets are used 
within triggering widgets such as the ButtonWidget.\n\n! Content and 
Attributes\n\nThe ''action-navigate'' widget is invisible. Any content 
within it is ignored.\n\n|!Attribute |!Description |\n|$to |The title of 
the target tiddler for the navigation (if not provided defaults to the 
[[WidgetVariable: currentTiddler]] |\n|$scroll |Optional parameter 
determining whether the navigation will also cause a scroll to the target 
tiddler (see below) |\n\n!! Scroll handling\n\nThe optional `$scroll` 
attribute can be set to \"yes\" to force scrolling to occur to bring the 
target tiddler into view. If set to \"no\" then scrolling does not occur. 
If the `$scroll` attribute is omitted then scrolling occurs unless 
either:\n\n* the control key is pressed\n* the action was initiated with 
the middle mouse button (if available)\n\nNote that if navigating to 
multiple tiddlers at once you should use the same `$scroll` setting for all 
of them.\n\n! Examples\n\nHere is an example of button that navigates to 
two different tiddlers at once:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-navigate 
$to=\"ButtonWidget\"/>\n<$action-navigate $to=\"ActionWidgets\"/>\nClick 
me!\n</$button>'/>\n",
        "caption": "action-navigate",
        "created": "20141008163514491",
        "modified": "20141008164303144",
        "tags": "Widgets ActionWidgets",
        "title": "ActionNavigateWidget",
        "type": "text/vnd.tiddlywiki"
    },
    {
        "text": "! Introduction\n\nThe ''action-sendmessage'' widget is an 
[[action widget|ActionWidgets]] that sends a [[message|WidgetMessages]] 
back up the widget tree. ActionWidgets are used within triggering widgets 
such as the ButtonWidget.\n\n! Content and Attributes\n\nThe 
''action-sendmessage'' widget is invisible. Any content within it is 
ignored.\n\n|!Attribute |!Description |\n|$message |The message to send 
(eg, [[WidgetMessage: tm-new-tiddler]]) |\n|$param |Optional parameter 
string whose meaning is dependent on the message being sent |\n|//{any 
attributes not starting with $}// |Multiple additional named parameters 
that are attached to the message |\n\n! Examples\n\nHere is an example of 
button that displays both a notification and a wizard, and creates a new 
tiddler with tags and text:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-sendmessage 
$message=\"tm-modal\" $param=\"SampleWizard\"/>\n<$action-sendmessage 
$message=\"tm-notify\" 
$param=\"SampleNotification\"/>\n<$action-sendmessage 
$message=\"tm-new-tiddler\" title=\"This is newly created tiddler\" 
tags=\"OneTag [[Another Tag]]\" text=<<now \"Today is DDth, MMM 
YYYY\">>/>\nClick me!\n</$button>'/>\n",
        "caption": "action-sendmessage",
        "created": "20141008134309742",
        "modified": "20141107132122081",
        "tags": "Widgets ActionWidgets",
        "title": "ActionSendMessageWidget",
        "type": "text/vnd.tiddlywiki"
    },
    {
        "text": "! Introduction\n\nThe ''action-setfield'' widget is an 
[[action widget|ActionWidgets]] that assigns values to the fields of a 
tiddler. ActionWidgets are used within triggering widgets such as the 
ButtonWidget.\n\n! Content and Attributes\n\nThe ''action-setfield'' widget 
is invisible. Any content within it is ignored.\n\n|!Attribute 
|!Description |\n|$tiddler |The title of the tiddler whose fields are to be 
modified (if not provided defaults to the [[WidgetVariable: 
currentTiddler]] |\n|$field |Optional name of a field to be assigned the 
$value attribute |\n|$index |Optional index of a property in a [[data 
tiddler|DataTiddlers]] to be assigned the $value attribute|\n|$value |The 
value to be assigned to the field or index identified by the $field or 
$index attribute. If neither is specified then the value is assigned to the 
text field |\n|//{any attributes not starting with $}// |Each attribute 
name specifies a field to be modified with the attribute value providing 
the value to assign to the field  |\n\n! Examples\n\nHere is an example of 
a pair of buttons that open the control panel directly to specified tabs. 
They work by using ''action-setfield'' to set the state tiddler for the 
control panel tabs.\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-setfield 
$tiddler=\"$:/state/tab-1749438307\" 
text=\"$:/core/ui/ControlPanel/Appearance\"/>\n<$action-navigate 
$to=\"$:/ControlPanel\"/>\nGo to Control Panel \"Appearance\" 
tab\n</$button>\n\n<$button>\n<$action-setfield 
$tiddler=\"$:/state/tab-1749438307\" 
text=\"$:/core/ui/ControlPanel/Settings\"/>\n<$action-navigate 
$to=\"$:/ControlPanel\"/>\nGo to Control Panel \"Settings\" 
tab\n</$button>'/>\n\nHere is an example of a button that assigns tags and 
fields to the tiddler HelloThere, and then navigates to it and opens the 
tiddler info panel on the \"Fields\" tab:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-setfield 
$tiddler=\"HelloThere\" tags=\"NewTag [[Another New Tag]]\" 
color=\"red\"/>\n<$action-setfield 
$tiddler=\"$:/state/popup/tiddler-info--1779055697\" 
text=\"(568,1443,33,39)\"/>\n<$action-setfield 
$tiddler=\"$:/state/tab--1890574033\" 
text=\"$:/core/ui/TiddlerInfo/Fields\"/>\n<$action-navigate 
$to=\"HelloThere\"/>\nModify ~HelloThere\n</$button>'/>\n\nHere is an 
example of a button that assigns tags and fields to the tiddler HelloThere, 
and then initiates editing it:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-setfield 
$tiddler=\"HelloThere\" tags=\"MoreTag [[Further More Tags]]\" 
color=\"green\"/>\n<$action-sendmessage $message=\"tm-edit-tiddler\" 
$param=\"HelloThere\"/>\nEdit ~HelloThere\n</$button>'/>\n\nHere is an 
example of a button that opens the control panel directly to the 
\"Appearance\" tabs:\n\n<$macrocall 
$name='wikitext-example-without-html'\nsrc='<$button>\n<$action-setfield 
$tiddler=\"$:/state/tab-1749438307\" $field=\"text\" 
$value=\"$:/core/ui/ControlPanel/Appearance\"/>\n<$action-navigate 
$to=\"$:/ControlPanel\"/>\nGo to Control Panel \"Appearance\" 
tab\n</$button>'/>\n",
        "caption": "action-setfield",
        "created": "20141025120850184",
        "modified": "20141106173455527",
        "tags": "Widgets ActionWidgets",
        "title": "ActionSetFieldWidget",
        "type": "text/vnd.tiddlywiki"
    }
]


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to