Hey Ivan...Not tested it, and it is not clean, but how about doing the following programmatically when you apply the time range from an Event Frame via your add-in:
- Unload the Playback Toolbar.
- Change the ProcBook.ini sections for Time Range Min & Time Range Max.
- Load the Playback Toolbar forcing the initialisation based on ProcBook.ini.
@Ivan: No, it is not possible. This add-in was not meant to be customized via automation. The settings of this add-in are not stored within procbook.ini but OSIsoft.PB.Details.dll.config under your %USERPROFILE%\AppData\Roaming\PISystem\PI-ProcessBook folder. Unfortunately, unloading and reloading the add-in does not force it to read the settings stored in aforementioned file but in the cache in memory. Afterward, the information stored in memory is persisted back to the file, so you lose all your change.
Making your own toolbar capable of playing Event Frames would give you more control on how to "play" it and what to visualize. Otherwise, I suggest you contact our techsupport service to place an enhancement request for this PI Processbook add-in
Thanks Rhys and Mathieu.
I will add some playback buttons in the short term as well as submit the feature request to expose an automation interface.
If all is sucessful results will be posted here:)