On Wednesday, December 29, 2021 at 2:39:23 PM UTC-8 mohamed...@hotmail.com 
wrote:

> Is there  way to export a particular tiddler automatically, so as in some 
> scheduled task in the background, that lets say every 30 minutes would 
> trigger a command to export a specific tiddler in a particular local
>

TiddlyTools/Time/AutoSaver 
<https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAutoSaver>

*Displays a countdown timer in the SideBar that triggers a periodic "file 
save" and/or "export tiddlers" action.*
Requires: TiddlyTools/Time/CountDown 
<https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FCountDown>, 
TiddlyTools/Time/Ticker 
<https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FTicker>, 
TiddlyTools/Time/action-timeout.js 
<https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2Faction-timeout.js>
Optional: TiddlyTools/Time/Setup 
<https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FSetup>, 
$:/config/TiddlyTools/Time 
<https://tiddlytools.com/timer.html#%24%3A%2Fconfig%2FTiddlyTools%2FTime>

Copy the above tiddlers into your document and then save-and-reload (so the 
action-timeout widget is defined).  The AutoSaver interface is 
automatically added to the Sidebar.

>From the sidebar, press the AutoSaver "gear" button to open a settings 
popup.  Clear the "save the file" checkbox if you don't want to autosave 
the entire file and check the "export tiddlers" checkbox, then select the 
desired tiddler titles from the listbox (use ctrl-click and/or shift-click 
to select multiple tiddler titles).  The default output file will be named 
"tiddlers.json".

Press the "apply" button to set the countdown timer (default is 30 
minutes).  When the timer reaches zero, you will be ask to confirm "OK to 
autosave?"  Then press "save" to initiate the "export tiddlers" action.

enjoy,

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8c0c9755-d979-451f-8afc-acd25d19a40dn%40googlegroups.com.

Reply via email to