Hi Craig.
They do it (already) this way in the palette:
Code: Select all
command cancelAllMessages
local tPendingMessages, tMessage
if lSelectedCard is not "Pending Messages" then exit cancelAllMessages
put the cREVPendingMessages of me into tPendingMessages
repeat for each line tMessage in tPendingMessages
cancel item 1 of tMessage
end repeat
lock screen
revIDEPendingMessagesRefresh
disableFrameItem "cancelAll"
unlock screen
end cancelAllMessages
As I said, this may be too slow. If you have for example a timer loop, say every 8 millisecs, then it's kind of a lottery to cancel it by one such loop . At least my animation examples need several such loops for a "STOP ALL".
Hermann
Sorry for the edit. Safari 10 kicks me out every 2 minutes.