Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-13-2025, 09:52 PM   #1
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 438
Karma: 65460
Join Date: Jun 2011
Device: Kindle
More than 3 Automate List functions

Quote:
While there are only three Automate List toolbar buttons, you can create any number of lists and store them in your Preferences folder. To run a list, you will need to assign it to one of the three toolbar buttons by renaming it automate01.txt, automate02.txt or automate03.txt.
I understand the desire to limit clutter, but I'm wondering if there are any practical limitation to adding more buttons (or adding this functionality to a group via context menu).

To be clear, as it stands right now, even having three automated lists is an obscenely satisfying optimisation of my workflow, but I'm curious if this funcionality might be expandable (albeit as a very low priority).
ElMiko is online now   Reply With Quote
Old 06-13-2025, 11:01 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,734
Karma: 5703586
Join Date: Nov 2009
Device: many
You could create more automate buttons but the Sigil user interface is cluttered enough as is!

Furthermore each of those automate toolbar buttons already has its own menu to control launching and editing.

If someone has an idea how to redesign just that part of the interface to allow both editing and launching each automation list to add more lists without adding more buttons, we might consider it.

Up till now users have made things work with just 3 automation lists and if needed their own custom plugins.
KevinH is online now   Reply With Quote
Old 06-14-2025, 12:36 PM   #3
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 438
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Roger that. Truthfully, like i said, I haven't used all three "shortcuts" yet, but I know I could... If for no other reason than it feels so satisfying running an automated list after a decade of manually cycling through the same searches.

Just out of curiousity, was there a code-related reason that the Automated Lists are only accessible as buttons rather than an editable context menu/right-click like regex?
ElMiko is online now   Reply With Quote
Old 06-14-2025, 04:25 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,734
Karma: 5703586
Join Date: Nov 2009
Device: many
Yes to simplify the already cluttered interface.
KevinH is online now   Reply With Quote
Old 06-16-2025, 04:44 PM   #5
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by KevinH View Post
If someone has an idea how to redesign just that part of the interface to allow both editing and launching each automation list to add more lists without adding more buttons, we might consider it.
Toolbar space is indeed valuable, especially if you were thinking of adding an "ARIA roles" icon to the "Insert" bar. You may not be thinking about it

I think it's doable, although I don't know what the level of user interest in such an expansion would be.

[WAY ONE]
Pros:
* Only one icon has a toolbar!
Cons:
* With 10 lists, the menu has as many as 20 items, and not only does it become a bit too long, but there is also the problem of "aiming" when selecting the right item from the menu.

Screenshot:
Click image for larger version

Name:	sigil-automate-one-icon.png
Views:	14
Size:	35.5 KB
ID:	216276

[WAY TWO]
Pros:
* Only two icons (instead of three).
* Launching and editing are divided into two separate menus.
Cons:
* Hmmm... It's not even bad.

Screenshots:
Click image for larger version

Name:	sigil-automate-two-icons-run.png
Views:	10
Size:	26.7 KB
ID:	216277 Click image for larger version

Name:	sigil-automate-two-icons-edit.png
Views:	13
Size:	26.3 KB
ID:	216278

I'll just explain that the robot arm stands for "Automation," the letter "R" is, of course, "Run," and the letter "E" is "Edit."

While playing with this code, I found a bug in Sigil (crash!) and prepared a PR.
BeckyEbook is offline   Reply With Quote
Old 06-16-2025, 05:05 PM   #6
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 438
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Yeah, I'm also hard-pressed to see anything wrong with that second approach!

(quick question: I think the answer to this is "No", but worth asking—can the Lists' names be changed to something other than "Automate List 1, 2, 3, etc." in the "Edit" screen?)
ElMiko is online now   Reply With Quote
Old 06-16-2025, 06:27 PM   #7
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
I can't write that it is impossible, because it is.
But when I think about it, it makes me feel weak.

Internally, I feel how I would do it, for example, in the first line of the automateXX.txt file I would add a comment with the text set by the user:
Code:
#My super combo for non-fiction books
Nevertheless – theoretically it is doable
BeckyEbook is offline   Reply With Quote
Old 06-16-2025, 06:37 PM   #8
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 438
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Roger that. But currently that's not an existing functionality; it's not that I'm just clicking on the wrong things, right?
ElMiko is online now   Reply With Quote
Old 06-16-2025, 06:45 PM   #9
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Sure. This functionality is in my head for now.
BeckyEbook is offline   Reply With Quote
Old 06-16-2025, 08:10 PM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,734
Karma: 5703586
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by ElMiko View Post
Yeah, I'm also hard-pressed to see anything wrong with that second approach!

(quick question: I think the answer to this is "No", but worth asking—can the Lists' names be changed to something other than "Automate List 1, 2, 3, etc." in the "Edit" screen?)
If we do that we need to complicate the gui to build names, edit names, store names, etc.
KevinH is online now   Reply With Quote
Old 06-16-2025, 08:24 PM   #11
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,548
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I can't see adding even more lines of code to MainWindow just to allow for the customization of how toolbar items are named.
DiapDealer is offline   Reply With Quote
Old 06-16-2025, 08:27 PM   #12
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by KevinH View Post
If we do that we need to complicate the gui to build names, edit names, store names, etc.
This is unfortunately true. And certainly a lot of testing, as Sigil has already crashed a few times for me during testing. But…

Click image for larger version

Name:	sigil-automate-custom-names.png
Views:	11
Size:	23.8 KB
ID:	216282
BeckyEbook is offline   Reply With Quote
Old 06-16-2025, 08:30 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,734
Karma: 5703586
Join Date: Nov 2009
Device: many
Agreed. And given you can put whole sets of regular expressions searches into a single search group, I am not sure what automating a single click with another single click does for you.

So before doing this, I would want to see 4 or 5 useful automation lists to prove to me 3 are just not enough.

Otherwize we are just cluttering the gui and MainWindow for no good reason.
KevinH is online now   Reply With Quote
Old 06-16-2025, 08:31 PM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,734
Karma: 5703586
Join Date: Nov 2009
Device: many
And where is the gui to assign names? Or are you just walking a folder?

And are any of these crashes recreatable? If so a set of steps to recreate the crash or crashes would help.

Last edited by KevinH; 06-16-2025 at 08:33 PM.
KevinH is online now   Reply With Quote
Old 06-16-2025, 08:48 PM   #15
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 838
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
I have to give up. A full build of Sigil on my computer takes almost 7 minutes, which makes testing take too much.
I am fully aware that adding an extra loop (yes, walking a folder) to check custom names in automateXX.txt files is not very friendly to the whole project.
I was doing the tests to see if I could do it, and "it can be done," but I don't believe these lists are used that much.
It's really hard for me to imagine such sequences of command proceedings and plugins one after another that would meet my requirements. However, I prefer to run the commands/plugins one at a time so that I can react to their effects immediately.
BeckyEbook is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to automate my workflow? mmobes Library Management 11 04-29-2024 11:39 AM
Automate list and S&R jmurphy Sigil 10 11-02-2022 07:47 AM
automate on start up ladykayaker Kindle Developer's Corner 2 11-14-2013 08:30 AM
Can you post a list of functions of the bottoms (icons) on the e-ink side here? henry_moh enTourage Archive 4 05-10-2010 12:55 AM
PDA Functions for your iLiad. Calendar, Contacts, Todo List Adam B. iRex 57 09-26-2008 01:42 AM


All times are GMT -4. The time now is 04:02 PM.


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