View Single Post
Old 09-23-2021, 06:21 PM   #10
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
I'm not certain of this, but you might be able to trigger a VM view switch on change of VL via the Action Chains plugin.

Ask in the AC plugin thread ==>> Index of plugins

BR
This can be added to the Action Chains plugin:
  • I can add a new event to Action Chains called: VL Tab Changed. This event will be triggered whenever the user switches tabs.
  • I can add a new custom action that gives the user the option to assign View Manager views to VL tabs.

    Edit: This can also be done by invoking the builtin Calibre Actions multiple times, while setting a condition on each invocation based on the vl tab name. But you must make sure the view(s) does not set a virtual library, as that will already be done by switching tabs.
  • By adding the action above to the "VL Tab Changed" event, anytime the user switches tabs, the corresponding view will be applied automatically.

I will give this a go tomorrow.

Last edited by capink; 09-23-2021 at 06:33 PM.
capink is offline   Reply With Quote