There are options to run pre event and post event scripts, could these be used to move to the flat position? For example:
Pre Flat script:
' connect to scope
scope.Tracking = false
scope.SlewToAltAz flatAzm, flatAlt
'done, tracking has been stopped and the scope has been moved to the flat position
Post Flat script:
' connect to scope
scope.Tracking = true
' done, tracking has been restarted so that normal slews will be allowed.
Chris R