View Single Post
Old 10-11-2025, 10:39 PM   #85
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: 9,026
Karma: 6361556
Join Date: Nov 2009
Device: many
Since the Find replaceall command returns the number of replacements made, inside Autmate() we could store that count in a variable (something like m_last_replacement count) and create two new search automation commands: one that only run its search if m_last_replacement count > 0 and and one that only runs its search if m_ last_replacement_count == 0.

This would only work with running saved searches. Would that be useful?
KevinH is online now   Reply With Quote