I looked over the scripting guide as you suggested in our thread about autofocus. The scripting language looks straightforward.
I would like to use Prism's Automated Observing feature with a callout to my script at various points during the run. For example:
1) At the start of each exposure
2) At the end of each exposure
3) At the start of an observation (set of exposures)
4) When Prism's autofocus would normally run (so I could replace it with my own)
I see how to invoke a script at the very beginning or end of an automated run, but not during the run so I could override functions with my own.
Is this possible? If not, I'm not sure how to replace Prism's autofocus routine with my own, other than writing my own automation script from start to finish, which sort of defeats the purpose of having Prism

Thanks,
Rowland