Righto, Seb's suggestion pointed me toward the answer I needed. I didn't notice it before when looking at the events list, but there is an EVENT_APPTERMINATE that triggers when you use the default Quit shortcut for the OS. Thanks Seb!
keyboard shortcut
BlitzMax Forums/BlitzMax Beginners Area/keyboard shortcutThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.