Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 12-28-2022, 12:43 AM   #991
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,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Recursion checks are only done when using the Chain Caller action, which I guess you are not using for this particular chain.

Try unchecking the "Refresh books after running the chain" in the chain dialog, and see whether this makes a difference for you.

Also note, that editing directly is always going to be a tad faster.
capink is offline   Reply With Quote
Old 12-28-2022, 01:17 AM   #992
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Yup, not refreshing makes it quicker! Thanks.
ownedbycats is offline   Reply With Quote
Old 12-30-2022, 12:05 AM   #993
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
A question:

Currently, I have a 'Send to Device' chain that adds a book to a 'send to device' reading list. I also have a "send to device + add to TBR list" which calls this action.

I created a second reading list, 'add to device,' for books not already on device.

Would it make more sense to:
a) Keep one 'send to device' chain with the two separate add-to-list actions,
b) Have two chains, but two separate chain callers on the secondary chain.

I'm leaning toward the first but wanted to check. In both cases, I wiould be using a conditional that sorts the book onto the right list.

Last edited by ownedbycats; 12-30-2022 at 12:24 AM.
ownedbycats is offline   Reply With Quote
Old 12-30-2022, 08:42 AM   #994
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,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
I don't quite follow what you are doing as my own using of reading list plugin is very limited and does not involve devices at all.

Having said that, it is matter of personal preference. I prefer using Chain Caller if there is a possibility of using the sub-chains separately.

However there is one limitation of Chain Caller you should be aware of:

The recursion check is primitive as it checks the flow of the chains and record the name of each called chain, if one chain name appears more than once, it assumes recursion and the chain will be invalidated. This is not necessarily always true, as you might have two separate chains calling the same target chain.

As for performance, the only drawback I can think of with Chain Caller, is that refresh_gui step will occur with each called chain. This is not necessary and I will correct it in the next release.
capink is offline   Reply With Quote
Old 01-08-2023, 09:59 PM   #995
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Tip for Action Chains users:

If you have a template used in several different chains, consider using Preferences > Template Functions > Stored Template.

This will give you a stored_template() that can be called from the chains. This means you have only one copy of the template to update.
ownedbycats is offline   Reply With Quote
Old 01-10-2023, 07:48 PM   #996
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Click image for larger version

Name:	2023-01-10 20_45_09-Add actions.png
Views:	1052
Size:	37.3 KB
ID:	198931

This happens an embarrassing amount of times. Not a huge priority, but could it be possible to automatically select the png option if one is loaded with the file dialog?
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 12:20 AM   #997
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Hello, I'm sure it has been discussed but I don't find it : I want to edit a Single Field and I would like the user to input a value but not showing the field initially as empty but with a default value. Is it possible?
Terisa de morgan is offline   Reply With Quote
Old 01-11-2023, 02:43 AM   #998
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Terisa de morgan View Post
Hello, I'm sure it has been discussed but I don't find it : I want to edit a Single Field and I would like the user to input a value but not showing the field initially as empty but with a default value. Is it possible?
Here's a quick and dirty method. Create a SFE with this template (so it doesn't overwrite existing values):

Code:
program: if $#field=='' then 'somevalue' else $#field fi
Then put a second SFE with ask at runtime after it.

Last edited by ownedbycats; 01-11-2023 at 02:46 AM.
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 03:10 AM   #999
random733
Junior Member
random733 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2023
Device: none
Thanks for this great tool.

Guys easy question, maybe I'm blind or stupid, but I can't find a way to just press the 'OK' button in a chain. For example when I call the find duplicates plugin, the first screen asks for confirmation with 'ok' or 'cancel'. How is this solved?
random733 is offline   Reply With Quote
Old 01-11-2023, 05:00 AM   #1000
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by ownedbycats View Post
Here's a quick and dirty method. Create a SFE with this template (so it doesn't overwrite existing values):

Code:
program: if $#field=='' then 'somevalue' else $#field fi
Then put a second SFE with ask at runtime after it.
Thank you very much, no problem with quick and dirty methods (developer here ). So Single Field Edit with that template and, after that, the Single Field Edit asking for information? Just to confirm...
Terisa de morgan is offline   Reply With Quote
Old 01-11-2023, 06:39 AM   #1001
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Terisa de morgan View Post
Thank you very much, no problem with quick and dirty methods (developer here ). So Single Field Edit with that template and, after that, the Single Field Edit asking for information? Just to confirm...
Yup
ownedbycats is offline   Reply With Quote
Old 01-11-2023, 04:21 PM   #1002
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by ownedbycats View Post
Yup
Thank you, it works.
Terisa de morgan is offline   Reply With Quote
Old 01-11-2023, 10:12 PM   #1003
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Can I set an action to open the link for a selected identifier?

Context: Going through my dormant fanfics to see if any of them have been deleted. Doing bulk-updates with FanFicFare is frowned upon. I thought I could select about 5-10 fics at a time and have Action Chains open the identifier link in the browser.

Last edited by ownedbycats; 01-11-2023 at 10:16 PM.
ownedbycats is offline   Reply With Quote
Old 01-12-2023, 10:25 AM   #1004
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,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by random733 View Post
Thanks for this great tool.

Guys easy question, maybe I'm blind or stupid, but I can't find a way to just press the 'OK' button in a chain. For example when I call the find duplicates plugin, the first screen asks for confirmation with 'ok' or 'cancel'. How is this solved?
There is no way to do this. Action Chains will work only with non-interactive plugins.
capink is offline   Reply With Quote
Old 01-12-2023, 10:28 AM   #1005
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,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by ownedbycats View Post
Attachment 198931

This happens an embarrassing amount of times. Not a huge priority, but could it be possible to automatically select the png option if one is loaded with the file dialog?
I planning an overhaul for icon management in the future. There is a similar functionality in calibre columns icons which I will look to see whether is re-usable or not when I have the time for this. So, I am currently no inclined to work on this.
capink is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Editor Plugin] Editor Chains capink Plugins 106 06-17-2025 05:36 PM
Action Chains Resources capink Plugins 77 06-16-2025 12:45 PM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 03:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM


All times are GMT -4. The time now is 06:44 AM.


MobileRead.com is a privately owned, operated and funded community.