I see there are two 'Refresh from disk' possibilities, one from the File 
menu and one by right click menu.

I'm interested in the right click 'Refresh from disk'.

How could I call it by a script?

On Monday, December 7, 2015 at 7:28:07 PM UTC+2, Zoltan Benedek wrote:
>
> I have a workaround.
> I should call 'Refresh from disk' for every position wich starts with 
> '@clean'.
>
> Only I don't know how. Something like:
>
> for p in c.all_positions():
>     if p.h.startswith('@clean'):
>         c.refreshFromDisk()
>
>
> Can someone help me?
>
> Thanks
> Zoltan
>
>
> On Saturday, December 5, 2015 at 1:43:10 AM UTC+2, Edward K. Ream wrote:
>>
>>
>> On Fri, Dec 4, 2015 at 1:04 PM, Zoltan Benedek <[email protected]> wrote:
>>
>> ​> ​
>> I use just the same script you copied. Should I change it a bit?
>>
>> ​Changing the code for ​
>> c.recursiveImport itself is the only thing that could work.  I'll look 
>> into the deleted lines issue.
>>
>> 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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to