![]() |
#1066 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
Quote:
Edit: For actions that does not support scopes, namely Calibre Actions, you use the "Search Using Templates" action in the same way you would the template scopes. |
|||
![]() |
![]() |
![]() |
#1067 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Ampersand escape bug in submenus.
|
![]() |
![]() |
![]() |
#1068 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Hi, I was testing something else and found I couldn't start the Content Server when running from current source (latest commit: a9cec37) with Action Chains enabled. I had a previous version archived (1.18.3) and server wouldn't start using that version either... After removing Action Chains, content server could be started running from source.
Anyway, I'm reporting this just in case it becomes a relevant issue, as everything is working fine with the latest official 6.15.1 release and AC latest version 1.18.5. |
![]() |
![]() |
![]() |
#1069 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Updating to the latest version should take care of this. There were recently some changes in calibre that renders older versions incompatible.
Last edited by capink; 04-09-2023 at 06:12 AM. |
![]() |
![]() |
![]() |
#1070 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Is intended or unavoidable that a runtime SFE on 'language' shows only the short language codes?
Last edited by ownedbycats; 04-10-2023 at 02:49 AM. Reason: screenshot add |
![]() |
![]() |
![]() |
#1071 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Let's just say it was easier and involved less work. I was not willing to put in the required work for what I thought would be the least used field/datatype.
Last edited by capink; 04-10-2023 at 03:15 AM. |
![]() |
![]() |
![]() |
#1072 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Makes sense. By 'unavoidable' I probably meant 'a bit annoying to bother changing'
![]() |
![]() |
![]() |
![]() |
#1073 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I am making a formula that displays some statistics:
Code:
program: strcat( $author, ' - ', $title, character('newline'), 'Chapter Count: ', $$#chaptercount, character('newline'), 'Page Count: ', $$#pagecount,character('newline'), 'Average Pages per Chapter: ', format_number((divide($$#pagecount, $$#chaptercount)), '{0:5.2f}') ); If I run it on multiple books, it only displays information for one. How should I change the template to display information for each selected book? Last edited by ownedbycats; 04-12-2023 at 05:56 PM. Reason: adding screenshot |
![]() |
![]() |
![]() |
#1074 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
You have one of two approaches:
N.B This is the same approach I talked about when I told you to narrow down the books scope using templates scope. So if you have an action that needs to act on a subset of selected books, you filter the books ids you want to act upon using one of the two above techniques, and feed the list of book_ids to the action via template scopes. Last edited by capink; 04-12-2023 at 07:31 PM. |
![]() |
![]() |
![]() |
#1075 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
The speed of the first one doesn't seem too much. Thanks
![]() I've been testing out template scopes (duplicating existing chains is helpful for this). I think I've got it mostly figured out by now. |
![]() |
![]() |
![]() |
#1076 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Selection Modifier: Would any of the options select 'initial selection before running chain'?
|
![]() |
![]() |
![]() |
#1077 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Code:
program: from_selection('id') Code:
program: globals(initial_selection) Notes:
Last edited by capink; 04-13-2023 at 06:28 PM. Reason: typo in variable name |
|
![]() |
![]() |
![]() |
#1078 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thanks
![]() I think tips and tricks like this would be helpful for the second reserved post |
![]() |
![]() |
![]() |
#1079 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
There is already a section of Misc Tips in the first post. I will add this to it.
|
![]() |
![]() |
![]() |
#1080 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,988
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
A new question: A while ago, I think you mentioned changes to the icons. Does that include using a custom folder instead of resources/images? Generate Cover and Job Spy both use a folder in plugins, for example.
A few days ago, I couldn't figure out why a tag browser icon had changed until I realized I had a 'series.png' used by Action Chains. (Renaming to icon_series.png fixed it.) |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |