04-03-2007, 09:31 PM
shutdown is asynchronous. QM thread for a while is not in main message loop, and does not process Ctrl+V. Use something else instead of shutdown. For example, global variable.
Function TS_Sound
mac "TS_Sound"
int+ g_stop_ts_sound
int vk=wait(5 KF); err g_stop_ts_sound=1; ret
g_stop_ts_sound=1
sel vk
,case 'E': outp "Crystal Enterprise"
,case 'L': outp "ClearOutput"
,case 'R': outp "Crystal Reports"
,case else: endFunction TS_Sound
