- Posts: 33
- Joined: Tue Apr 07, 2020 8:45 pm
- Real Name: Piers Deseilligny
Looping Resolve.GetCurrentPage() will not be sufficient though. Assuming this is an external script and you want to run it as a process you will need to make a resolve instance each time Resolve restarts. You'd need something like
- Code: Select all
while true:
try resolve.GetProjectManager():
page = resolve.GetCurrentPage()
except:
resolve = get_your_resolve_instance()
page = resolve.GetCurrentPage()
time.sleep(.5)
You'll need to experiment to fins a sleep interval that's optimal. Of course, try to be more specific with the exception catching than the blanket "except" I have up there.