![]() |
#121 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Quote:
We would store the number of replacements made for every replace all invoked by a "RunSavedSearchReplaceAll" command. Then we would add 2 new commands: OnSuccessRunSavedSearchReplaceAll OnFailedRunSavedSearchReplaceAll These two commands would conditionally run a saved search replace all depending on the number of replacements stored by the last "RunSavedSearchReplaceAll" command. If the number of last search replacements was 0, then a OnFailedRunSavedSearchReplaceAll would work to run its search but a OnSuccessRunSavedSearchReplaceAll would not. If the number of last search replacements was > 0, then a OnFailedRunSavedSearchReplaceAll would *not* run its search but a OnSuccessRunSavedSearchReplaceAll would run its search. Is this enough logic to do what you want? Should the two new commands also set the number of last search replacements made if run? If you could create a small example of how these might be used and why, it would really help me to understand how conditioning on prior search replace all results should be handled. Thanks, |
|
![]() |
![]() |
![]() |
#122 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
I am pretty much up to snuff on new feature requests for Sigil for the next release. So if you have new feature ideas not yet mentioned in this thread, please save them for the future.
Last edited by KevinH; Today at 01:22 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#123 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 47,827
Karma: 173906420
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Currently, I run saved search 1, look at the results and if 0, run saved search 2. If both 1 and 2 make no changes, search 3 is not run otherwise it is run. I have a few other search sets that I use in a similar fashion. Rather idiosyncratic and I'm still not sure how many other people would make use of this capability. Another suggestion would be to have the Automation List preference also remove the Quick Launch icons when disabled. Last edited by DNSB; Today at 03:38 PM. |
|
![]() |
![]() |
![]() |
#124 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Quote:
Then turn-off the Automation Menu in Preferences. The QuickLaunch Plugins and shortcuts for them would still work. I thought BetterRed would like that! ![]() |
|
![]() |
![]() |
![]() |
#125 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
@DNSB,
So you are okay with that idea. The key is if a conditional search is not run it leaves the last replace count unmodified. If a conditional search is run, it does update the last replacement count. Is that correct? Last edited by KevinH; Today at 04:24 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#126 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,977
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Because I regard EPUB as a final-form format, like PDF, I don't do any text formatting, so the preset text formatting shortcuts and many others have been set to null. Ditto the calibre editor. BTW: I can't find a response to my suggestions for Metadata edit in post #14 BR Last edited by BetterRed; Today at 08:06 PM. |
|
![]() |
![]() |
![]() |
#127 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
If you are referring to this:
Quote:
To be honest I just missed it. That said, I am not a big fan of context menus attached to individual fields in a treeview. Even BookBrowser which is a treeview only attaches to the virtual folder headers, not elements in the treeview itself. I will look into improving navigation to add a value to a MetaData element without having to arrow down, across, and the up. Maybe we could advance the cursor to that field after adding a Metadata element so typing the value can more easily be done? Let me play around with a few ideas to see if I can make this easier. Maybe the entire MetaEditor could have a pop-up menu whose elements are enabled or disabled based in the currently selected field in the tree? That may be possible, but it would still require a mouse click to launch the popup. Last edited by KevinH; Today at 09:17 PM. |
|
![]() |
![]() |
![]() |
#128 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,041
Karma: 6361556
Join Date: Nov 2009
Device: many
|
@BetterRed
The behaviour you describe above about the right arrow when trying to move to a metadata value when it already has properties, must be platform os specific. On a Mac this does not happen. If collapsed (no property showing) the first right arrow expands it (so that I can see the properties) and the second right arrow moves directly to where I want. If it is already expanded, then the first right arrow moves directly to the right one column. I did look at the code and there is a QStyle Hint that seems to be platform specific that may impact this. Not sure if I can change it for the Qt Windows theme without moving to Fusion. I really do not like double usng the right and left arrows as I always felt that a '-' key should collapse the tree entree and a '+' key should expand it. But Qt likes to use right and left arrow keys to handle that instead of just properly navigate the columns with it. I will investigate further. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ideas for New Improvements or Features | KevinH | Sigil | 97 | 04-09-2025 09:45 AM |
Suggestions for new Caliber features | DavidlPORTUGAL | Library Management | 3 | 12-10-2023 07:37 AM |
Hello. Where do I make suggestions for future improvements? | spelunker | Sigil | 19 | 02-28-2022 11:46 AM |
Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 10:05 AM |
Onyx M92: Suggestions for possible improvements | Lode | Onyx Boox | 3 | 02-11-2013 07:40 AM |