On Mon, Mar 7, 2016 at 12:14 PM, Phil <[email protected]> wrote:
>
Is there a way to combine
[two different sets of clones] so that they really are clones of the
exact same node?
There is always a way, given the proper script.
h1 = 'headline of set 1'
h2 = 'headline of set 2'
s = 'desired copyright notice'
Regardless of whether h1 == h2, something like this will work (not tested):
for p in c.all_unique_positions():
if p.isCloned() and p.h in (h1, h2):
p.b = s
*Warning*: this script is not undoable, so make a backup first.
Why anyone would prefer longer names for h1, h2, p and s is beyond me.
Their meanings are absolutely clear from context.
Notice, *please*, the length of all_unique_positions
and isCloned. Leo already has the proper balance of names.
EKR
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.