Thank you Saq, No success. I start from Classic View with tiddler A, switch to Zoomin View, have A in fous then, open a few tiddlers and then switch back to Classic View. Tiddlywiki always opens the first tiddler in my Open tab (e.g the first one in the story river) and navigates to .
On Tue, Dec 15, 2020 at 8:22 PM Saq Imtiaz <[email protected]> wrote: > Try this: > <$button actions=<<navigate-to-last>>>Switch View > <$action-setfield $tiddler="$:/view" text={{{ > [{$:/view}match[classic]then[zoomin]else[classic]] }}} /> > </$button> > > On Tuesday, December 15, 2020 at 5:09:41 PM UTC+1 Mohammad wrote: > >> The action button is like this of course it is bonded with a shortcut >> keys combination >> >> <$button>Switch View >> <$action-setfield $tiddler="$:/view" text={{{ >> [{$:/view}match[classic]then[zoomin]else[classic]] }}} /> >> <<navigate-to-last>> >> </$button> >> >> On Tuesday, December 15, 2020 at 7:31:34 PM UTC+3:30 Mohammad wrote: >> >>> Thanks Saq! >>> >>> I have written something like below with no luck >>> >>> \define navigate-to-last() >>> <$set name="lastTid" tiddler="$:/HistoryList" field="current-tiddler"> >>> <$action-navigate $to=<<lastTid>> $scroll="yes"/> </$set> >>> \end >>> >>> Then I have a manual button to switch the Story View and then call >>> navigate-to-last >>> >>> What do you think? What is wrong with this code? >>> >>> >>> >>> On Tuesday, December 15, 2020 at 7:23:51 PM UTC+3:30 [email protected] >>> wrote: >>> >>>> We don't have a working implementation for tracking and restoring focus >>>> state and/or story scroll position. >>>> >>>> You probably need to save and restore that yourself using tm-navigate >>>> or tm-scroll messages. >>>> >>>> On Tuesday, December 15, 2020 at 4:27:23 PM UTC+1 Mohammad wrote: >>>> >>>>> I have asked this question before with no luck. >>>>> >>>>> 1. Assume I am in Classic story view and I have five tiddlers open and >>>>> tiddler A is under focus (or at least the last one I get into by clicking >>>>> a >>>>> link) >>>>> 2. Then I switch to Zoomin story view and see tiddler A. Then I >>>>> navigate among those tiddlers say from Open tab in sidebar. >>>>> 3. Now I return to Classic view, what I see it is not the last tiddler >>>>> in focus (opened) in Zoomin view instead Tiddlywiki opens the first >>>>> Tiddler >>>>> in the story list and focuses on that! >>>>> >>>>> My question is how can I switch between two story view but have the >>>>> same tiddler under focus in both views? Is it possible in TW 5.1.23? >>>>> >>>>> --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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/ca8160f2-1c97-4cac-96cf-3c73e52b7bc4n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/ca8160f2-1c97-4cac-96cf-3c73e52b7bc4n%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/CAAV1gMC2Zf%2Bm%3DFS2zmwDDrJta0RwSH8RbO0r%3DJDVssEntNhttw%40mail.gmail.com.

