[tw5] Re: KeeBoord - global keyboard shortcuts
edit @JD - in my previous post I was talking about your *spartan* theme, not "shadow" ... where did shadow come from? I don't know... BTC -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/343aabf0-cf1b-4880-ae76-6f6d557cefbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Hi BTC, this plugin is so amazing! Nothing to report, I'm just thanking > you for your work! It's been super reliable for me. > > Hi JD, thank you very much, I've seen how you've integrated it in your material theme and the shadow theme, which I like a lot, BIG compliments for your work! I'm glad that the plugin is so reliable and useful for you all! have a good weekend, BTC -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/294a63f2-bee7-463d-b7ab-85497e592ae5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi BTC, this is plugin is so amazing! Nothing to report, I'm just thanking you for your work! It's been super reliable for me. On Saturday, June 23, 2018 at 2:29:22 PM UTC+9, BurningTreeC wrote: > > Hi BurningTreeC, >> >> This is the plugin of my dreams!! Fantastic. Encountered no issues so far >> but I am inclined to believe that this should be the plugin of the month. >> >> Infact, I dare say TW5 should come bundled with this plugin because it >> augments it so very well. >> > > Hi Abraham, > Thank you for the great feedback! > > I've made a PR on github to integrate this functionality in the core, it's > still open. Fingers crossed it gets merged :) > > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3fa52917-fa6b-4a09-9ac6-aaebbf5f9c8f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Hi BurningTreeC, > > This is the plugin of my dreams!! Fantastic. Encountered no issues so far > but I am inclined to believe that this should be the plugin of the month. > > Infact, I dare say TW5 should come bundled with this plugin because it > augments it so very well. > Hi Abraham, Thank you for the great feedback! I've made a PR on github to integrate this functionality in the core, it's still open. Fingers crossed it gets merged :) BTC -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5fdc165e-396a-4621-a438-8ad0b2b84a84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
This is very true! I hope Jeremy bundle it with TW 5.1.18 On Thursday, June 21, 2018 at 6:29:44 PM UTC+4:30, Abraham Samma wrote: > > Hi BurningTreeC, > > This is the plugin of my dreams!! Fantastic. Encountered no issues so far > but I am inclined to believe that this should be the plugin of the month. > > Infact, I dare say TW5 should come bundled with this plugin because it > augments it so very well. > > On Tuesday, June 5, 2018 at 2:29:20 PM UTC+3, BurningTreeC wrote: >> >> Hi folks, >> >> for those who already want to use global keyboard shortcuts within their >> wikies, I've made a plugin and a little plugin-info-page: >> >> http://keeboord.tiddlyspot.com/ >> >> have fun with it, >> BTC >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a297de22-67d3-4d22-a7fb-06f8022bf244%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi BurningTreeC, This is the plugin of my dreams!! Fantastic. Encountered no issues so far but I am inclined to believe that this should be the plugin of the month. Infact, I dare say TW5 should come bundled with this plugin because it augments it so very well. On Tuesday, June 5, 2018 at 2:29:20 PM UTC+3, BurningTreeC wrote: > > Hi folks, > > for those who already want to use global keyboard shortcuts within their > wikies, I've made a plugin and a little plugin-info-page: > > http://keeboord.tiddlyspot.com/ > > have fun with it, > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/41c312bf-7e11-44a7-8d97-97ab33c8dd55%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > One question: > When in Zoomin storyview a tiddler is opened, where its name is stored? I > mean is there any state tiddler from that > we could recognize the name of current tiddler. If so, we can update the > content of presentation-tiddler no matter how > and from where the current tiddler has been opened! > > What do you think? > As far as I know there's no such thing. There's only the $:/StoryList tiddler with the list of all open tiddlers but no reference which tiddler is shown. I agree with you, that in Zoomin storyview it should be possible to have access to the currently viewed tiddler. That's something for a github pull request > > /Mohammad > > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/67d1bb20-a9c4-4952-9b43-7d49ba28d205%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
One question: When in Zoomin storyview a tiddler is opened, where its name is stored? I mean is there any state tiddler from that we could recognize the name of current tiddler. If so, we can update the content of presentation-tiddler no matter how and from where the current tiddler has been opened! What do you think? /Mohammad On Thursday, June 7, 2018 at 4:41:22 PM UTC+4:30, BurningTreeC wrote: > > I tested your previous solution, it works like a charm! >> Thank you. Now keyboard shortcut and the button work fine no matter how >> navigation is done. >> >> To start presentation: (demo: http://tiddlyshow.tiddlyspot.com/) >> [Note: The above version still has not the shortcutjeys] >> >>1. I load a saved presentation from slides tab from sidebar >>2. I go to browser fullscreen >>3. I click the small toggle button up-left to set the presentation >>mode >>4. I navigate using buttons at the bottom >> >> If you toggle back to author mode, you can click on other tiddlers in >> open Tab or interwiki links to go to other slide tiddlesr, then you can >> again click the toggle button to return back to presentation mode! >> Here you will have the current tiddler in focus. The state tiddler still >> has the previous value not the title of tiddler under focus! >> > > There's no easy fix for this. The links in the "Open" tab are all link > widgets, no buttons, so modifying that tab would be a lot of work for the > value... > Figuring out how one can get the currently viewed tiddler from outside the > story is one of the mysteries of tiddlywiki > >> >> I will upload the Tiddlyshow+KeeBoord in few minutes. >> >> /Mohammad >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1bffe8fa-4738-47c1-a924-a022f39b547a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > @BTC > The above post edited. > I have uploaded the Tiddlyshow+KeeBoord with your last solution. > I've tried it, really cool to see it in action. Good work! > > http://tiddlyshow.tiddlyspot.com/ > > /Mohammad > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b5b3e67b-f135-4abd-b50f-862617747872%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > I tested your previous solution, it works like a charm! > Thank you. Now keyboard shortcut and the button work fine no matter how > navigation is done. > > To start presentation: (demo: http://tiddlyshow.tiddlyspot.com/) > [Note: The above version still has not the shortcutjeys] > >1. I load a saved presentation from slides tab from sidebar >2. I go to browser fullscreen >3. I click the small toggle button up-left to set the presentation mode >4. I navigate using buttons at the bottom > > If you toggle back to author mode, you can click on other tiddlers in open > Tab or interwiki links to go to other slide tiddlesr, then you can again > click the toggle button to return back to presentation mode! > Here you will have the current tiddler in focus. The state tiddler still > has the previous value not the title of tiddler under focus! > There's no easy fix for this. The links in the "Open" tab are all link widgets, no buttons, so modifying that tab would be a lot of work for the value... Figuring out how one can get the currently viewed tiddler from outside the story is one of the mysteries of tiddlywiki > > I will upload the Tiddlyshow+KeeBoord in few minutes. > > /Mohammad > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/06e0b8b1-2d94-468b-b18d-6f5b87ae0a61%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
@BTC The above post edited. I have uploaded the Tiddlyshow+KeeBoord with your last solution. http://tiddlyshow.tiddlyspot.com/ /Mohammad -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fd7caa0f-6d74-44a9-83ab-af07d272bb66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
I tested your previous solution, it works like a charm! Thank you. Now keyboard shortcut and the button work fine no matter how navigation is done. To start presentation: (demo: http://tiddlyshow.tiddlyspot.com/) [Note: The above version still has not the shortcutjeys] 1. I load a saved presentation from slides tab from sidebar 2. I go to browser fullscreen 3. I click the small toggle button up-left to set the presentation mode 4. I navigate using buttons at the bottom If you toggle back to author mode, you can click from open Tab or interwiki links to go to other slide tiddler, then you can gain click the toggle button to return back to presentation mode! Here you will have the current tiddler in focus. I will upload the Tiddlyshow+KeeBoord in few minutes. /Mohammad On Thursday, June 7, 2018 at 4:15:21 PM UTC+4:30, BurningTreeC wrote: > > Great BTC! >> This seems to work! >> >> If you start your presentation from a different tiddler than the first >> one, you'll need to set the text of $:/state/presentation-tiddler to that >> tiddler >> >> How can I do this? Is it from presentation button? Can I use the >> currentTiddler then? >> >> How do you set the presentation to start from the middle? > > >> /Mohammad >> >> On Thursday, June 7, 2018 at 3:43:09 PM UTC+4:30, BurningTreeC wrote: >>> >>> Hi BTC, I have still one problem I could not figure out! To synchronize the navigation by shortcut keys and buttons (here links with mouse clicks), I tried to use the state tiddler in the tiddler handles the navigation. Here are the next previous button (links) <$list filter="[all[current]previous[$:/StoryList]]"> <$link to={{!!title}} tooltip="previous: {{!!title}}"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{!!title}}/> {{$:/.mr/tiddlyshow/circle-left}} {{!!page}} <$list filter="[all[current]next[$:/StoryList]]"> <$link to={{!!title}} tooltip="next: {{!!title}}"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{!!title}}/> {{$:/.mr/tiddlyshow/circle-right}} But it seems the state tiddler ($:/state/presentation-tiddler) is not update. So, the shortcutkeys (alt+Right and alt+Left) actions are not the same as link clicks. I mean both of them works but when navigate from same tiddler, the result is different! >>> >>> Yes, the link widget will not trigger the action string. You'll need to >>> replace it with a button: >>> >>> <$button class="tc-btn-invisible" to={{!!title}} >>> set="$:/state/presentation-tiddler" setTo={{!!title}} tooltip="yourtip"> >>> {{$:/.mr/tiddlyshow/circle-right}} >>> >>> >>> >>> One more question: If I start navigation from middle of story river, the button works fine because they navigate from the current tiddler, but I dont know how to tell this to Shortcutkeys tiddler (i.e. next-slide, previous-slide). >>> That's why we use the $:/state/presentation-tiddler to save the >>> currently viewed tiddler. So in the shortcuts you get it by: >>> >>> {{$:/state/presentation-tiddler}} >>> >>> ... like: >>> >>> <$navigator story="$:/StoryList" history="$:/HistoryList"> >>> <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]"> >>> <$action-sendmessage $message="tm-navigate"/> >>> >>> >>> >>> If you start your presentation from a different tiddler than the first >>> one, you'll need to set the text of $:/state/presentation-tiddler to that >>> tiddler >>> >> -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/257ac993-233d-40e8-8995-e61ca5048773%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Great BTC! > This seems to work! > > If you start your presentation from a different tiddler than the first > one, you'll need to set the text of $:/state/presentation-tiddler to that > tiddler > > How can I do this? Is it from presentation button? Can I use the > currentTiddler then? > > How do you set the presentation to start from the middle? > /Mohammad > > On Thursday, June 7, 2018 at 3:43:09 PM UTC+4:30, BurningTreeC wrote: >> >> Hi BTC, >>> I have still one problem I could not figure out! >>> To synchronize the navigation by shortcut keys and buttons (here links >>> with mouse clicks), I tried to use the state tiddler in the tiddler handles >>> the navigation. Here are the next previous button (links) >>> >>> >>> >>> >>> >>> <$list filter="[all[current]previous[$:/StoryList]]"> >>> <$link to={{!!title}} tooltip="previous: {{!!title}}"> >>> <$action-setfield $tiddler="$:/state/presentation-tiddler" >>> text={{!!title}}/> >>> {{$:/.mr/tiddlyshow/circle-left}} >>> >>> >>> >>> >>> >>>{{!!page}} >>> >>> >>> >>> <$list filter="[all[current]next[$:/StoryList]]"> >>> <$link to={{!!title}} tooltip="next: {{!!title}}"> >>> <$action-setfield $tiddler="$:/state/presentation-tiddler" >>> text={{!!title}}/> >>> {{$:/.mr/tiddlyshow/circle-right}} >>> >>> >>> >>> >>> >>> >>> >>> But it seems the state tiddler ($:/state/presentation-tiddler) is not >>> update. So, the shortcutkeys (alt+Right and alt+Left) actions are not the >>> same as link clicks. >>> I mean both of them works but when navigate from same tiddler, the >>> result is different! >>> >> >> Yes, the link widget will not trigger the action string. You'll need to >> replace it with a button: >> >> <$button class="tc-btn-invisible" to={{!!title}} >> set="$:/state/presentation-tiddler" setTo={{!!title}} tooltip="yourtip"> >> {{$:/.mr/tiddlyshow/circle-right}} >> >> >> >> >>> >>> One more question: If I start navigation from middle of story river, the >>> button works fine because they navigate from the current tiddler, but I >>> dont know how to tell this to Shortcutkeys tiddler (i.e. next-slide, >>> previous-slide). >>> >>> >> That's why we use the $:/state/presentation-tiddler to save the currently >> viewed tiddler. So in the shortcuts you get it by: >> >> {{$:/state/presentation-tiddler}} >> >> ... like: >> >> <$navigator story="$:/StoryList" history="$:/HistoryList"> >> <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]"> >> <$action-sendmessage $message="tm-navigate"/> >> >> >> >> If you start your presentation from a different tiddler than the first >> one, you'll need to set the text of $:/state/presentation-tiddler to that >> tiddler >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8a8727fc-be22-4a81-8ea6-b66172a6850a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Great BTC! This seems to work! If you start your presentation from a different tiddler than the first one, you'll need to set the text of $:/state/presentation-tiddler to that tiddler How can I do this? Is it from presentation button? Can I use the currentTiddler then? /Mohammad On Thursday, June 7, 2018 at 3:43:09 PM UTC+4:30, BurningTreeC wrote: > > Hi BTC, >> I have still one problem I could not figure out! >> To synchronize the navigation by shortcut keys and buttons (here links >> with mouse clicks), I tried to use the state tiddler in the tiddler handles >> the navigation. Here are the next previous button (links) >> >> >> >> >> >> <$list filter="[all[current]previous[$:/StoryList]]"> >> <$link to={{!!title}} tooltip="previous: {{!!title}}"> >> <$action-setfield $tiddler="$:/state/presentation-tiddler" >> text={{!!title}}/> >> {{$:/.mr/tiddlyshow/circle-left}} >> >> >> >> >> >>{{!!page}} >> >> >> >> <$list filter="[all[current]next[$:/StoryList]]"> >> <$link to={{!!title}} tooltip="next: {{!!title}}"> >> <$action-setfield $tiddler="$:/state/presentation-tiddler" >> text={{!!title}}/> >> {{$:/.mr/tiddlyshow/circle-right}} >> >> >> >> >> >> >> >> But it seems the state tiddler ($:/state/presentation-tiddler) is not >> update. So, the shortcutkeys (alt+Right and alt+Left) actions are not the >> same as link clicks. >> I mean both of them works but when navigate from same tiddler, the result >> is different! >> > > Yes, the link widget will not trigger the action string. You'll need to > replace it with a button: > > <$button class="tc-btn-invisible" to={{!!title}} > set="$:/state/presentation-tiddler" setTo={{!!title}} tooltip="yourtip"> > {{$:/.mr/tiddlyshow/circle-right}} > > > > >> >> One more question: If I start navigation from middle of story river, the >> button works fine because they navigate from the current tiddler, but I >> dont know how to tell this to Shortcutkeys tiddler (i.e. next-slide, >> previous-slide). >> >> > That's why we use the $:/state/presentation-tiddler to save the currently > viewed tiddler. So in the shortcuts you get it by: > > {{$:/state/presentation-tiddler}} > > ... like: > > <$navigator story="$:/StoryList" history="$:/HistoryList"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]"> > <$action-sendmessage $message="tm-navigate"/> > > > > If you start your presentation from a different tiddler than the first > one, you'll need to set the text of $:/state/presentation-tiddler to that > tiddler > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/28d0421a-d985-4632-975d-489c8f6cc48b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Hi BTC, > I have still one problem I could not figure out! > To synchronize the navigation by shortcut keys and buttons (here links > with mouse clicks), I tried to use the state tiddler in the tiddler handles > the navigation. Here are the next previous button (links) > > > > > > <$list filter="[all[current]previous[$:/StoryList]]"> > <$link to={{!!title}} tooltip="previous: {{!!title}}"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" > text={{!!title}}/> > {{$:/.mr/tiddlyshow/circle-left}} > > > > > >{{!!page}} > > > > <$list filter="[all[current]next[$:/StoryList]]"> > <$link to={{!!title}} tooltip="next: {{!!title}}"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" > text={{!!title}}/> > {{$:/.mr/tiddlyshow/circle-right}} > > > > > > > > But it seems the state tiddler ($:/state/presentation-tiddler) is not > update. So, the shortcutkeys (alt+Right and alt+Left) actions are not the > same as link clicks. > I mean both of them works but when navigate from same tiddler, the result > is different! > Yes, the link widget will not trigger the action string. You'll need to replace it with a button: <$button class="tc-btn-invisible" to={{!!title}} set="$:/state/presentation-tiddler" setTo={{!!title}} tooltip="yourtip"> {{$:/.mr/tiddlyshow/circle-right}} > > One more question: If I start navigation from middle of story river, the > button works fine because they navigate from the current tiddler, but I > dont know how to tell this to Shortcutkeys tiddler (i.e. next-slide, > previous-slide). > > That's why we use the $:/state/presentation-tiddler to save the currently viewed tiddler. So in the shortcuts you get it by: {{$:/state/presentation-tiddler}} ... like: <$navigator story="$:/StoryList" history="$:/HistoryList"> <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]"> <$action-sendmessage $message="tm-navigate"/> If you start your presentation from a different tiddler than the first one, you'll need to set the text of $:/state/presentation-tiddler to that tiddler -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/72e29961-f950-43f0-8e0d-a479e84a1653%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi BTC, I have still one problem I could not figure out! To synchronize the navigation of shortcut keys with button (here links with mouse clicks), I tried to use the state tiddler in the tiddler handles the navigation. Here are the next previous button (links) <$list filter="[all[current]previous[$:/StoryList]]"> <$link to={{!!title}} tooltip="previous: {{!!title}}"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{!!title}}/> {{$:/.mr/tiddlyshow/circle-left}} {{!!page}} <$list filter="[all[current]next[$:/StoryList]]"> <$link to={{!!title}} tooltip="next: {{!!title}}"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{!!title}}/> {{$:/.mr/tiddlyshow/circle-right}} But it seems the state tiddler ($:/state/presentation-tiddler) is not update. So, the shortcutkeys (alt+Right and alt+Left) actions are not the same as link clicks. I mean both of them works but when navigate from same tiddler, the result is different! One more question: If I start navigation from middle of story river, the button works fine because they navigate from the current tiddler, but I dont know how to tell this to Shortcutkeys tiddler (i.e. next-slide, previous-slide). Thank you Mohammad On Wednesday, June 6, 2018 at 1:37:23 AM UTC+4:30, BurningTreeC wrote > > @BTC >> Your solution works great! >> I have assigned Enter, Space, PageDown and Right-arror for next tiddler >> (slide) and Left-arrow, PageUp for previous. >> > > Awesome > >> >> There is some adjustment remained. For example, if I click on the >> next-slide button or previous-button, the state tiddler is not notified. >> Also after slideshow, the next time state tiddler still has the last >> slide title and it should rewind. >> > > Yes, you'll need the same solution within your next and previous buttons > you could add this to the button that starts and ends a presentation: > <$action-deletetiddler $tiddler="$:/state/presentation-tiddler"/> > > and modify my code from above: > > <$list filter="[[$:/state/presentation-tiddler]is[missing]]"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{{ > [list[$:/StoryList]nth[1]] }}}/> > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth!title{$:/state/ > presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text=< > >/> > <$action-navigate $to=<>/> > > > > > With this it sets the state tiddler to the first tiddler if it's missing - > and it should be missing when you add the above line to the presentation > launcher > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/14b532f7-a06f-4623-96e0-e364b20e39c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Oky! Thank you for clarification! I go as per your solution. Cheers Mohammad On Wednesday, June 6, 2018 at 10:07:28 PM UTC+4:30, BurningTreeC wrote: > > One more question: >> >> If I use a DataTiddler as my state tiddler and put all these setting in >> that tiddler and then using transclusion I can set the values for these >> actions and >> other settings! This way I will have less read/write. >> >> Do you recommend this way? >> > > I don't recommend this for the keyboard shortcuts. It's a convenient way > for settings, but if one wants to be able to change the keyboard shortcuts > without having to reload, the corresponding shortcut tiddler itself has to > change. Putting a transclusion there wouldn't trigger refreshing the > shortcut because its content wouldn't change. And we rely upon the shortcut > config tiddlers to change in order to be able to change shortcuts within a > running wiki > >> >> >> On Wednesday, June 6, 2018 at 9:53:14 PM UTC+4:30, BurningTreeC wrote: >>> >>> >>> >>> Am Mittwoch, 6. Juni 2018 19:20:16 UTC+2 schrieb BurningTreeC: Okay! > I use a combination of keys! and avoid using Space, Backspace, > PageUp, PageDown, Arrow keys, Enter, ... > I am thinking I can activate them in presentation mode, this should be > not difficult. For example the > presentation button can set the key fields and when I finished and > press end of show, the fields can be unset! > > What do you think? > > That's a good idea, it's possible! >>> >>> When you choose the shortcuts in the ControlPanel it generates tiddlers >>> named $:/config/shortcuts/my-action - they hold the key combination in >>> their text fields >>> Your button would then set those tiddlers to your desired shortcuts when >>> entering in presentation mode and unset them when leaving >>> >> -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a051d072-6bbb-44e1-97ad-275cfd44f8c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > One more question: > > If I use a DataTiddler as my state tiddler and put all these setting in > that tiddler and then using transclusion I can set the values for these > actions and > other settings! This way I will have less read/write. > > Do you recommend this way? > I don't recommend this for the keyboard shortcuts. It's a convenient way for settings, but if one wants to be able to change the keyboard shortcuts without having to reload, the corresponding shortcut tiddler itself has to change. Putting a transclusion there wouldn't trigger refreshing the shortcut because its content wouldn't change. And we rely upon the shortcut config tiddlers to change in order to be able to change shortcuts within a running wiki > > > On Wednesday, June 6, 2018 at 9:53:14 PM UTC+4:30, BurningTreeC wrote: >> >> >> >> Am Mittwoch, 6. Juni 2018 19:20:16 UTC+2 schrieb BurningTreeC: >>> >>> Okay! I use a combination of keys! and avoid using Space, Backspace, PageUp, PageDown, Arrow keys, Enter, ... I am thinking I can activate them in presentation mode, this should be not difficult. For example the presentation button can set the key fields and when I finished and press end of show, the fields can be unset! What do you think? That's a good idea, it's possible! >>> >> >> When you choose the shortcuts in the ControlPanel it generates tiddlers >> named $:/config/shortcuts/my-action - they hold the key combination in >> their text fields >> Your button would then set those tiddlers to your desired shortcuts when >> entering in presentation mode and unset them when leaving >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/18dd1522-d36a-46b2-932d-56a48d5bad90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
One more question: If I use a DataTiddler as my state tiddler and put all these setting in that tiddler and then using transclusion I can set the values for these actions and other settings! This way I will have less read/write. Do you recommend this way? On Wednesday, June 6, 2018 at 9:53:14 PM UTC+4:30, BurningTreeC wrote: > > > > Am Mittwoch, 6. Juni 2018 19:20:16 UTC+2 schrieb BurningTreeC: >> >> Okay! >>> I use a combination of keys! and avoid using Space, Backspace, PageUp, >>> PageDown, Arrow keys, Enter, ... >>> I am thinking I can activate them in presentation mode, this should be >>> not difficult. For example the >>> presentation button can set the key fields and when I finished and press >>> end of show, the fields can be unset! >>> >>> What do you think? >>> >>> That's a good idea, it's possible! >> > > When you choose the shortcuts in the ControlPanel it generates tiddlers > named $:/config/shortcuts/my-action - they hold the key combination in > their text fields > Your button would then set those tiddlers to your desired shortcuts when > entering in presentation mode and unset them when leaving > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/656700ff-64e9-4b81-aa26-99e21963a354%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Thats right! I have noticed if I delete the $:/config/ShortcutInfo/my-action they wont appear in the control panel but they work. In this way I can prevent users from setting shortcuts for these actions! Is this correct? On Wednesday, June 6, 2018 at 9:53:14 PM UTC+4:30, BurningTreeC wrote: > > > > Am Mittwoch, 6. Juni 2018 19:20:16 UTC+2 schrieb BurningTreeC: >> >> Okay! >>> I use a combination of keys! and avoid using Space, Backspace, PageUp, >>> PageDown, Arrow keys, Enter, ... >>> I am thinking I can activate them in presentation mode, this should be >>> not difficult. For example the >>> presentation button can set the key fields and when I finished and press >>> end of show, the fields can be unset! >>> >>> What do you think? >>> >>> That's a good idea, it's possible! >> > > When you choose the shortcuts in the ControlPanel it generates tiddlers > named $:/config/shortcuts/my-action - they hold the key combination in > their text fields > Your button would then set those tiddlers to your desired shortcuts when > entering in presentation mode and unset them when leaving > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/364ec7b2-67ef-443b-a94f-a28ef8a0f352%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Am Mittwoch, 6. Juni 2018 19:20:16 UTC+2 schrieb BurningTreeC: > > Okay! >> I use a combination of keys! and avoid using Space, Backspace, PageUp, >> PageDown, Arrow keys, Enter, ... >> I am thinking I can activate them in presentation mode, this should be >> not difficult. For example the >> presentation button can set the key fields and when I finished and press >> end of show, the fields can be unset! >> >> What do you think? >> >> That's a good idea, it's possible! > When you choose the shortcuts in the ControlPanel it generates tiddlers named $:/config/shortcuts/my-action - they hold the key combination in their text fields Your button would then set those tiddlers to your desired shortcuts when entering in presentation mode and unset them when leaving -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b69b7422-e1d8-43d1-913d-2f5bcf7e7ce7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
So, I go with this solution and will update the Tiddlyshow app. I will inform you the result. Cheers Mohammad On Wednesday, June 6, 2018 at 9:50:16 PM UTC+4:30, BurningTreeC wrote: > > Okay! >> I use a combination of keys! and avoid using Space, Backspace, PageUp, >> PageDown, Arrow keys, Enter, ... >> I am thinking I can activate them in presentation mode, this should be >> not difficult. For example the >> presentation button can set the key fields and when I finished and press >> end of show, the fields can be unset! >> >> What do you think? >> >> That's a good idea, it's possible! > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/40f9457e-010f-4a3f-9fff-80ff06bda5a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Okay! > I use a combination of keys! and avoid using Space, Backspace, PageUp, > PageDown, Arrow keys, Enter, ... > I am thinking I can activate them in presentation mode, this should be not > difficult. For example the > presentation button can set the key fields and when I finished and press > end of show, the fields can be unset! > > What do you think? > > That's a good idea, it's possible! -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/329bbae4-2019-41ef-8241-7a87295613c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Okay! I use a combination of keys! and avoid using Space, Backspace, PageUp, PageDown, Enter, ... Cheers Mohammad On Wednesday, June 6, 2018 at 9:35:46 PM UTC+4:30, BurningTreeC wrote: > > *A small problem.* >> >> Hi BTC >> >> I have set the Right and Left arrow keys as shortcuts for navigating to >> forward/backward tiddler (slide). When I am in edit mode i.e I opened a >> tiddler to edit, then for moving currsor >> I cannot use the arrow keys they navigate to next/previous tiddler >> instead of moving the cursor back and forth! >> >> I think the KeeBoord should detect this situation. For short remedy, I >> used alt-N and alt-P, but this is a bug. >> >> > Hmm... for now I recommend avoiding shortcuts that already have important > functions. I'll have to see if we can handle such cases, too > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/975ea51b-5c3d-4ef0-a9ee-2547b72b228e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > *A small problem.* > > Hi BTC > > I have set the Right and Left arrow keys as shortcuts for navigating to > forward/backward tiddler (slide). When I am in edit mode i.e I opened a > tiddler to edit, then for moving currsor > I cannot use the arrow keys they navigate to next/previous tiddler instead > of moving the cursor back and forth! > > I think the KeeBoord should detect this situation. For short remedy, I > used alt-N and alt-P, but this is a bug. > > Hmm... for now I recommend avoiding shortcuts that already have important functions. I'll have to see if we can handle such cases, too -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3f5acbe1-99dc-4500-a4c7-301bf8c16e42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
*A small problem.* Hi BTC I have set the Right and Left arrow keys as shortcuts for navigating to forward/backward tiddler (slide). When I am in edit mode i.e I opened a tiddler to edit, then for moving currsor I cannot use the arrow keys they navigate to next/previous tiddler instead of moving the cursor back and forth! I think the KeeBoord should detect this situation. For short remedy, I used alt-N and alt-P, but this is a bug. Cheers Mohammad On Wednesday, June 6, 2018 at 1:37:23 AM UTC+4:30, BurningTreeC wrote: > > @BTC >> Your solution works great! >> I have assigned Enter, Space, PageDown and Right-arror for next tiddler >> (slide) and Left-arrow, PageUp for previous. >> > > Awesome > >> >> There is some adjustment remained. For example, if I click on the >> next-slide button or previous-button, the state tiddler is not notified. >> Also after slideshow, the next time state tiddler still has the last >> slide title and it should rewind. >> > > Yes, you'll need the same solution within your next and previous buttons > you could add this to the button that starts and ends a presentation: > <$action-deletetiddler $tiddler="$:/state/presentation-tiddler"/> > > and modify my code from above: > > <$list filter="[[$:/state/presentation-tiddler]is[missing]]"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{{ > [list[$:/StoryList]nth[1]] }}}/> > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth!title{$:/state/ > presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text=< > >/> > <$action-navigate $to=<>/> > > > > > With this it sets the state tiddler to the first tiddler if it's missing - > and it should be missing when you add the above line to the presentation > launcher > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c9df5c97-392a-4be0-a55f-936f5d7bd2de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hello again BTC, You solution works like a charm! Thank you. I will soon update the Tiddlyshow with keyboard shortcuts feature. This is a step in bulding Tiddlyshow. Thank you again for providing the great KeeBoord plugin and I hope I see it in the TW core in the next release. Cheers Mohammad On Wednesday, June 6, 2018 at 1:37:23 AM UTC+4:30, BurningTreeC wrote: > > @BTC >> Your solution works great! >> I have assigned Enter, Space, PageDown and Right-arror for next tiddler >> (slide) and Left-arrow, PageUp for previous. >> > > Awesome > >> >> There is some adjustment remained. For example, if I click on the >> next-slide button or previous-button, the state tiddler is not notified. >> Also after slideshow, the next time state tiddler still has the last >> slide title and it should rewind. >> > > Yes, you'll need the same solution within your next and previous buttons > you could add this to the button that starts and ends a presentation: > <$action-deletetiddler $tiddler="$:/state/presentation-tiddler"/> > > and modify my code from above: > > <$list filter="[[$:/state/presentation-tiddler]is[missing]]"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{{ > [list[$:/StoryList]nth[1]] }}}/> > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth!title{$:/state/ > presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text=< > >/> > <$action-navigate $to=<>/> > > > > > With this it sets the state tiddler to the first tiddler if it's missing - > and it should be missing when you add the above line to the presentation > launcher > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0a9a5c64-f0a1-4756-b77b-7550f4a596bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Thanks Mohammad! & BTC > > Excellent! > > BTC wrote: What you can do with a button is also possible with a keyboard >> shortcut > > > So, for instance, say I had a "Help Tiddler" that I want the user to be > able to display in a modal? Could that be activated though, say, "Ctrl+H"? > > Yes, but I think some browsers already use "Ctrl+H" as a built-in shortcut. You'll find a shortcut that fits. It's easy to set up and change. -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/884c3dd7-28ea-457f-b8a4-5aa2d27850d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Thanks Mohammad! & BTC Excellent! BTC wrote: What you can do with a button is also possible with a keyboard > shortcut So, for instance, say I had a "Help Tiddler" that I want the user to be able to display in a modal? Could that be activated though, say, "Ctrl+H"? Josiah -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0daa3ae7-2c2c-446b-a19f-6ee2622c2b54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi @BTC Many thanks. I will return to you with results Best Mohammad On Wednesday, June 6, 2018 at 1:37:23 AM UTC+4:30, BurningTreeC wrote: > > @BTC >> Your solution works great! >> I have assigned Enter, Space, PageDown and Right-arror for next tiddler >> (slide) and Left-arrow, PageUp for previous. >> > > Awesome > >> >> There is some adjustment remained. For example, if I click on the >> next-slide button or previous-button, the state tiddler is not notified. >> Also after slideshow, the next time state tiddler still has the last >> slide title and it should rewind. >> > > Yes, you'll need the same solution within your next and previous buttons > you could add this to the button that starts and ends a presentation: > <$action-deletetiddler $tiddler="$:/state/presentation-tiddler"/> > > and modify my code from above: > > <$list filter="[[$:/state/presentation-tiddler]is[missing]]"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{{ > [list[$:/StoryList]nth[1]] }}}/> > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth!title{$:/state/ > presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" text=< > >/> > <$action-navigate $to=<>/> > > > > > With this it sets the state tiddler to the first tiddler if it's missing - > and it should be missing when you add the above line to the presentation > launcher > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/18d8fdc6-070a-4b02-9474-cd9d5e31b7fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
already put it there this morning. Nice stuff coming out this week On Tuesday, June 5, 2018 at 7:33:51 AM UTC-5, Mohammad wrote: > > Thank you BTC. > To David, please add this plugin info into Tiddlywiki toolmap > > Cheers > Mohammad > > On Tuesday, June 5, 2018 at 3:59:20 PM UTC+4:30, BurningTreeC wrote: >> >> Hi folks, >> >> for those who already want to use global keyboard shortcuts within their >> wikies, I've made a plugin and a little plugin-info-page: >> >> http://keeboord.tiddlyspot.com/ >> >> have fun with it, >> BTC >> > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/80f8aaf8-e17f-4b21-93ff-cac69bdf6792%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > @BTC > Your solution works great! > I have assigned Enter, Space, PageDown and Right-arror for next tiddler > (slide) and Left-arrow, PageUp for previous. > Awesome > > There is some adjustment remained. For example, if I click on the > next-slide button or previous-button, the state tiddler is not notified. > Also after slideshow, the next time state tiddler still has the last slide > title and it should rewind. > Yes, you'll need the same solution within your next and previous buttons you could add this to the button that starts and ends a presentation: <$action-deletetiddler $tiddler="$:/state/presentation-tiddler"/> and modify my code from above: <$list filter="[[$:/state/presentation-tiddler]is[missing]]"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text={{{ [list[$:/StoryList]nth[1]] }}}/> <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> <$list filter="[list[$:/StoryList]nth!title{$:/state/ presentation-tiddler}]"> <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" variable="nextTiddler"> <$action-setfield $tiddler="$:/state/presentation-tiddler" text=< >/> <$action-navigate $to=<>/> With this it sets the state tiddler to the first tiddler if it's missing - and it should be missing when you add the above line to the presentation launcher -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6e9ade98-9447-4572-8830-9facb46de67b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
@BTC Your solution works great! I have assigned Enter, Space, PageDown and Right-arror for next tiddler (slide) and Left-arrow, PageUp for previous. There is some adjustment remained. For example, if I click on the next-slide button or previous-button, the state tiddler is not notified. Also after slideshow, the next time state tiddler still has the last slide title and it should rewind. Cheers Mohammad On Tuesday, June 5, 2018 at 10:56:57 PM UTC+4:30, BurningTreeC wrote: > > Hi again BTC >> >> If I use Zoomin storyview is this the correct code for defining shortcuts >> to navigate forward and backward through Tiddlers in story river >> >> >>- Goto next tiddler in story view with ctrl-N >> >> <$navigator story="$:/StoryList" history="$:/HistoryList"> >> <$list filter="[all[current]next[$:/StoryList]]"> >> <$action-navigate $to=<> /> >> >> >> tagged with: $:/tags/KeyboardShortcut >> >>- Goto previous tiddler in story view with ctrl-P >> >> <$navigator story="$:/StoryList" history="$:/HistoryList"> >> <$list filter="[all[current]previous[$:/StoryList]]"> >> <$action-navigate $to=<> /> >> >> >> tagged with: $:/tags/KeyboardShortcut >> >> I have required tiddlers for description >> >> >>- $:/config/ShortcutInfo/next-tiddler text: Next tiddler in >>story river >>- $:/config/ShortcutInfo/previous-tiddlertext: Previous tiddler >>in story river >> >> > Hi Mohammad, there's a problem you need to work around: the currentTiddler > is not the same outside of the story river as within the story river (the > keyboard shortcuts are outside the story river) > That's why [is[current]] in a keyboard shortcut will not match a tiddler > in the story river. > > The currentTiddler in the story river is defined through the list widget > in the $:/core/ui/PageTemplate/story Tiddler. You need a way to know > outside of the story river which one is the currently viewed tiddler to > make your idea work. > The list widget in the story pagetemplate lists all tiddlers that are > listed in the $:/StoryList tiddler's list field: > > <$list filter="[list[$:/StoryList]]" .../> > > If you start a presentation, you could set the text of a state tiddler , > say $:/state/presentation-tiddler, to the title of the first tiddler in the > presentation > When you go to the next Tiddler with your next button, you would set that > state tiddler to the next title (previous title for the previous button). > You would do the same in the keyboard shortcuts. > Like that you should always have a reference which tiddler is shown. > > If you know the currently viewed tiddler you get the next from the > $:/StoryList with this filter: > > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > > the previous: > > <$list filter="[{$:/state/presentation-tiddler}previous[$:/StoryList]]" > variable="previousTiddler"> > > I would add a check if we're at the beginning or the end of the story list: > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth > !title{$:/state/presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" > text=<>/> > <$action-navigate $to=<>/> > > > > > Don't hesitate to ask if the how or why is unclear > > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b31c9957-e9a5-402e-b8fd-c09738cd20bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi Diego, > As usual BTC, this is fantastic!!! I really really hope this makes it into > the core!! > It's looking good that it does :) > > Side note: I tried to get the focus on search one working but was unable > to. > did you tag the tiddler that holds the code for the action with $:/tags/KeyboardShortcut? did you create a $:/config/ShortcutInfo/quick-search tiddler and set the quick-search shortcut in the control panel? did you add the field "key" to the tiddler tagged with $:/tags/KeyboardShortcut and put ((quick-search)) in its value field? if you follow these 3 steps it should work I think - it does so for me -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/01b8c5d4-dbab-48f5-96f5-72c43df96d7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
As usual BTC, this is fantastic!!! I really really hope this makes it into the core!! Side note: I tried to get the focus on search one working but was unable to. On Tuesday, June 5, 2018 at 6:29:20 AM UTC-5, BurningTreeC wrote: > > Hi folks, > > for those who already want to use global keyboard shortcuts within their > wikies, I've made a plugin and a little plugin-info-page: > > http://keeboord.tiddlyspot.com/ > > have fun with it, > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8b9c9762-eb35-40f2-b8ee-a6ba96f339ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Thank you BTC, Actually, I am trying to adopt these shortcuts in Tiddlyshow app! So, let me try the revised code and I will return to you to share the result. Cheers Mohammad On Tuesday, June 5, 2018 at 10:56:57 PM UTC+4:30, BurningTreeC wrote: > > Hi again BTC >> >> If I use Zoomin storyview is this the correct code for defining shortcuts >> to navigate forward and backward through Tiddlers in story river >> >> >>- Goto next tiddler in story view with ctrl-N >> >> <$navigator story="$:/StoryList" history="$:/HistoryList"> >> <$list filter="[all[current]next[$:/StoryList]]"> >> <$action-navigate $to=<> /> >> >> >> tagged with: $:/tags/KeyboardShortcut >> >>- Goto previous tiddler in story view with ctrl-P >> >> <$navigator story="$:/StoryList" history="$:/HistoryList"> >> <$list filter="[all[current]previous[$:/StoryList]]"> >> <$action-navigate $to=<> /> >> >> >> tagged with: $:/tags/KeyboardShortcut >> >> I have required tiddlers for description >> >> >>- $:/config/ShortcutInfo/next-tiddler text: Next tiddler in >>story river >>- $:/config/ShortcutInfo/previous-tiddlertext: Previous tiddler >>in story river >> >> > Hi Mohammad, there's a problem you need to work around: the currentTiddler > is not the same outside of the story river as within the story river (the > keyboard shortcuts are outside the story river) > That's why [is[current]] in a keyboard shortcut will not match a tiddler > in the story river. > > The currentTiddler in the story river is defined through the list widget > in the $:/core/ui/PageTemplate/story Tiddler. You need a way to know > outside of the story river which one is the currently viewed tiddler to > make your idea work. > The list widget in the story pagetemplate lists all tiddlers that are > listed in the $:/StoryList tiddler's list field: > > <$list filter="[list[$:/StoryList]]" .../> > > If you start a presentation, you could set the text of a state tiddler , > say $:/state/presentation-tiddler, to the title of the first tiddler in the > presentation > When you go to the next Tiddler with your next button, you would set that > state tiddler to the next title (previous title for the previous button). > You would do the same in the keyboard shortcuts. > Like that you should always have a reference which tiddler is shown. > > If you know the currently viewed tiddler you get the next from the > $:/StoryList with this filter: > > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > > the previous: > > <$list filter="[{$:/state/presentation-tiddler}previous[$:/StoryList]]" > variable="previousTiddler"> > > I would add a check if we're at the beginning or the end of the story list: > > <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> > <$list filter="[list[$:/StoryList]nth > !title{$:/state/presentation-tiddler}]"> > <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" > variable="nextTiddler"> > <$action-setfield $tiddler="$:/state/presentation-tiddler" > text=<>/> > <$action-navigate $to=<>/> > > > > > Don't hesitate to ask if the how or why is unclear > > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f05d173f-3c5e-4012-bc75-16175bea5b7c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
@Mohammad I've edited the last code example -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/18a62a25-2e32-4020-873e-6dc0bbf5fa52%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Hi again BTC > > If I use Zoomin storyview is this the correct code for defining shortcuts > to navigate forward and backward through Tiddlers in story river > > >- Goto next tiddler in story view with ctrl-N > > <$navigator story="$:/StoryList" history="$:/HistoryList"> > <$list filter="[all[current]next[$:/StoryList]]"> > <$action-navigate $to=<> /> > > > tagged with: $:/tags/KeyboardShortcut > >- Goto previous tiddler in story view with ctrl-P > > <$navigator story="$:/StoryList" history="$:/HistoryList"> > <$list filter="[all[current]previous[$:/StoryList]]"> > <$action-navigate $to=<> /> > > > tagged with: $:/tags/KeyboardShortcut > > I have required tiddlers for description > > >- $:/config/ShortcutInfo/next-tiddler text: Next tiddler in >story river >- $:/config/ShortcutInfo/previous-tiddlertext: Previous tiddler in >story river > > Hi Mohammad, there's a problem you need to work around: the currentTiddler is not the same outside of the story river as within the story river (the keyboard shortcuts are outside the story river) That's why [is[current]] in a keyboard shortcut will not match a tiddler in the story river. The currentTiddler in the story river is defined through the list widget in the $:/core/ui/PageTemplate/story Tiddler. You need a way to know outside of the story river which one is the currently viewed tiddler to make your idea work. The list widget in the story pagetemplate lists all tiddlers that are listed in the $:/StoryList tiddler's list field: <$list filter="[list[$:/StoryList]]" .../> If you start a presentation, you could set the text of a state tiddler , say $:/state/presentation-tiddler, to the title of the first tiddler in the presentation When you go to the next Tiddler with your next button, you would set that state tiddler to the next title (previous title for the previous button). You would do the same in the keyboard shortcuts. Like that you should always have a reference which tiddler is shown. If you know the currently viewed tiddler you get the next from the $:/StoryList with this filter: <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" variable="nextTiddler"> the previous: <$list filter="[{$:/state/presentation-tiddler}previous[$:/StoryList]]" variable="previousTiddler"> I would add a check if we're at the beginning or the end of the story list: <$list filter="[list[$:/StoryList]count[]]" variable="storyCount"> <$list filter="[list[$:/StoryList]nth !title{$:/state/presentation-tiddler}]"> <$list filter="[{$:/state/presentation-tiddler}next[$:/StoryList]]" variable="nextTiddler"> <$action-navigate $to=<>/> Don't hesitate to ask if the how or why is unclear BTC -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c1e8c0c8-f111-4717-8cbc-e98f928a816b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
> > Ciao BTC > > In your approach, which looks really interesting, is it possible to > associate keystrokes combos with opening a single tiddler? Case: I often > need to work with one or two configuration Tiddlers and its a lot of > strokes to find them (they have "$:/" system names). What would the code > needed be? > Hi Josiah, Mohammads suggestion is exactly right! What you can do with a button is also possible with a keyboard shortcut BTC -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fa55d073-5550-48a2-a0d3-581708a15e22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Hi again BTC If I use Zoomin storyview is this the correct code for defining shortcuts to navigate forward and backward through Tiddlers in story river - Goto next tiddler in story view with ctrl-N <$navigator story="$:/StoryList" history="$:/HistoryList"> <$list filter="[all[current]next[$:/StoryList]]"> <$action-navigate $to=<> /> tagged with: $:/tags/KeyboardShortcut - Goto previous tiddler in story view with ctrl-P <$navigator story="$:/StoryList" history="$:/HistoryList"> <$list filter="[all[current]previous[$:/StoryList]]"> <$action-navigate $to=<> /> tagged with: $:/tags/KeyboardShortcut I have required tiddlers for description - $:/config/ShortcutInfo/next-tiddler text: Next tiddler in story river - $:/config/ShortcutInfo/previous-tiddlertext: Previous tiddler in story river Best Mohammad On Tuesday, June 5, 2018 at 3:59:20 PM UTC+4:30, BurningTreeC wrote: > > Hi folks, > > for those who already want to use global keyboard shortcuts within their > wikies, I've made a plugin and a little plugin-info-page: > > http://keeboord.tiddlyspot.com/ > > have fun with it, > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/67237924-1b55-45da-b452-1b845d1e57b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Ciao BTC In your approach, which looks really interesting, is it possible to associate keystrokes combos with opening a single tiddler? Case: I often need to work with one or two configuration Tiddlers and its a lot of strokes to find them (they have "$:/" system names). What would the code needed be? Best wishes Josiah -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/86ed71ed-58a3-4af5-8790-1a84926f89ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw5] Re: KeeBoord - global keyboard shortcuts
Thank you BTC. To David, please add this plugin info into Tiddlymap. Cheers Mohammad On Tuesday, June 5, 2018 at 3:59:20 PM UTC+4:30, BurningTreeC wrote: > > Hi folks, > > for those who already want to use global keyboard shortcuts within their > wikies, I've made a plugin and a little plugin-info-page: > > http://keeboord.tiddlyspot.com/ > > have fun with it, > BTC > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bb718699-3a30-49ed-8c1f-130473d300a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.