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:
Later I also found this thread which was helpful but I still need help with the action code: