Well, here's the specifics for the hook. If your going to use it, you can either assemble it yourself, or I'm going to need your program name.
cursorHook:
add a, e
ld a, (apdTimer)
cp $25 ;starts at $74, so...
ld a, b
jr z, isZero
ret nc ;have to ret NZ
isZero:
bcall(_closeEditBuf)
ld hl, programName
rst 20h
bcall(_executePrgm)
xor a
ld (menuCurrent), a
bcall(_jForceCMDNoChar)
programName:
.db protProgObj, "YOURNAME"
cursorHookEnd: