View Single Post
Old 09-30-2018, 09:31 AM   #71
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: 854
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by DiapDealer View Post
Every plugin I create going forward will work in this manner (RE file selection).
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.

Look at the attachment.
Attached Files
File Type: zip TagMechanic_v0.4.5.1.zip (28.6 KB, 572 views)
BeckyEbook is offline   Reply With Quote