OK, I have the script running and incorporated within my scheduler. Much trial and error!
I now have another issue. My Scheduler draws its information from an access database. The scheduler then writes events changes back to the access database (both via a Mysql DB)
The undo function works for any events I create within the scheduler however any events populated from the access database seem to be outside of the undo/redo functionality. When I move or re-size these events the undo/redo function has no record of the action.
Any ideas?