Yes, that's right

On Sat, Aug 3, 2019, 7:03 PM TonyM, <[email protected]> wrote:

> Aidan,
>
> Thanks for sharing the final solution. This is easy to readapt to using a
> shortcut to trigger any action or set of actions.
>
> Would it be better to write?
>
> $:/config/ShortcutInfo/*newShortcutname*
>
> Regards
> Tony
>
> On Sunday, August 4, 2019 at 7:09:41 AM UTC+10, Aidan Grey wrote:
>>
>> It was the story bit - just tested it, and that fixed it. I did have tagS
>> vs tag, that was just a typo here.
>>
>>
>> So here's my step by step to create a custom global shortcut, where you
>> don't need a button, or to be in a textarea, or anything. Just hit your
>> shortcut at anytime, and voila. Obviously, your action can be changed
>> easily to whatever you need.
>>
>>
>> 1. Create tiddler named $:/config/ShortcutInfo/<<newShortcut>>
>> 2. Give a description in textarea, if you want
>> 3. Go to Control Panel, then Keyboard Shortcuts
>> 4. Select your new shortcut name, and give it a unique shortcut (just
>> type the shortcut you want, for example alt+M)
>> 5. Create a new tiddler tagged $:/tags/Keyboard/Shortcut
>> <#m_-4584092567572515247_CAJu7H0apAFb-+hJnFPhta0Ewp=WgyXc1jTf=jzDW8Kiei=5dZQ@mail.gmail.com_%24%3A%2Ftags%2FKeyboard%2FShortcut>
>> 6. Create a new field "key", which value = your shortcut (e.g. "alt+M")
>> 7. In the textarea, add your action:
>> <$navigator story="$:/StoryList" > <$action-sendmessage
>> $message="tm-new-tiddler" $param="meaningTemplate" title="This is newly
>> created tiddler" tags="OneTag [[Another Tag]]" text=<<now "Today is DDth,
>> MMM YYYY">> /> </$navigator>
>>
>>
>> On Sat, Aug 3, 2019 at 1:53 PM 'Mark S.' via TiddlyWiki <
>> [email protected]> wrote:
>>
>>> I think you do need to wrap it with a minimum of
>>>
>>> <$navigator story="$:/StoryList" >
>>> ...
>>> </$navigator>
>>>
>>> In your original post, you said $:/tag/KeyboardShortcut, but it should
>>> be $:/tags/KeyboardShortcut
>>>
>>> I'm thinking that the error you're getting suggests something wrong in
>>> your template. Perhaps you could share that?
>>>
>>> Good luck!
>>>
>>> On Saturday, August 3, 2019 at 11:05:04 AM UTC-7, Aidan Grey wrote:
>>>>
>>>> What Birthe said, and also because of the previously noted requirement
>>>> specified in how to create a keyboard shortcut, global section.
>>>>
>>>> On Sat, Aug 3, 2019, 12:02 PM Birthe C, <[email protected]> wrote:
>>>>
>>>>> Hi Mat,
>>>>>
>>>>> When you do not use a button, but want to create a new tiddler from
>>>>> keyboard shortcut, you are not creating the tiddler from inside the story
>>>>> river....at least that is what I am thinking.
>>>>>
>>>>>
>>>>> Birthe
>>>>>
>>>>> --
>>>>> 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/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/tiddlywiki/32e4aa8f-dbc8-4baf-8fa0-4f87189f1a54%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/2117a9f5-9cbe-4f5e-aa7f-22450ee1129e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/138dfb40-c4de-49ab-a759-58930054d761%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/138dfb40-c4de-49ab-a759-58930054d761%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAJu7H0Yv4Zi-cRLUVFY%2BmZQd261cayXp%2Bfx8d64M%2Bs0Vt9%2B5Ew%40mail.gmail.com.

Reply via email to