View Single Post
Old 09-30-2018, 10:30 AM   #72
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,737
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BeckyEbook View Post
OK. This is good idea, but IMHO better solution is:
* if are (x)html files selected -- use bk.selected_iter()
* if not (for example selected is folder "Text") -- use bk.text_iter() (all files)

Because TagMechanic is a great plugin - the ability to run it for all files, but without the need to select them significantly speeds up the work.
Sorry. I don't see the problem. Nor do I see your proposal as a "better" solution. The better solution is to commit how the plugin actually works (instead of how you wished it worked) to memory and move on. There's no way I'm going to assume that someone who forgot to select ANY xhtml files would want ALL xhtml files to be processed by default. That makes zero sense to me.

Quote:
Originally Posted by BeckyEbook View Post
Look at the attachment.
No. The problem is not me not understanding how to code what you're asking for. The problem is me not thinking what you're asking for is good idea.
DiapDealer is offline   Reply With Quote