Regularly Update Custom UI in Premiere
I am looking for a way to update the CUI in Premiere Pro at a particular interval (like every 250ms). This was quite easy to do in AE - I set up an IdleHook and then call PF_RefreshUI every IdleHook if it's been >250ms since the last time it was called. But Premiere doesn't support AEGP and therefore doesn't support IdleHook.
I've tried saving the PF_ContextH that we're passed during a Draw command and calling PF_InvalidateRect with it every Render (wouldn't be the same as every 250ms, but better than nothing), but that seemed to freeze the plugin and definitely didn't refresh the UI. I also tried refreshing the UI at the end of every Draw command with both PF_InvalidateRect and |= PF_E0_UPDATE_NOW, neither of which work (presumably the host only listens to these for non-Draw commands).
Any help would be greatly appreciated.
