Dear TW community,

I have created a new shortcut tiddler.
$:/config/ShortcutInfo/test
I have added the shortcut Alt-S for all platforms in the keyboard shortcuts 
tab of $:/ControlPanel

I need a global keyboard shortcut so I have also added 
$:/tags/KeyboardShortcut to the tag field $:/config/ShortcutInfo/test

In order to use the Keyboard Shortcut Descriptor:
in $:/config/ShortcutInfo/test I have added a field named "key" with value 
"Alt-S"

I am now trying to define the action and would need some help in terms of 
what to add in the textarea of $:/config/ShortcutInfo/test. I need the 
action to be: save the whole wiki; (as opposed to saving a tiddler that is 
being edited).

Please excuse my ignorance. Any help with the code would be appreciated.

I have tried to search inside a blank TW to find the code for the action 
and reuse it but got lost.

(To put the need for this shortcut in context, I have disabled autosave so 
I want to be saving manually periodically using a keyboard shortcut.)

Many thanks 
Harris

P.s. 
I have referred to the instructions here:

https://tiddlywiki.com/static/How%2520to%2520create%2520keyboard%2520shortcuts.html
https://tiddlywiki.com/static/Keyboard%2520Shortcut%2520Descriptor.html

Later I also found this thread which was helpful but I still need help with 
the action code:
https://groups.google.com/forum/?hl=en&fromgroups#!searchin/tiddlywiki/$24keyboard$20action|sort:date/tiddlywiki/CRwut2UpJzU/BnZljFSWCQAJ

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5fcb66ec-22c9-4ca2-8e11-bc2f08c0bc52%40googlegroups.com.

Reply via email to