Reading through both the pendingmessages and the cancel command in the dictionary I can not understand where you find the id's of messages not yet executed so that they can be put into a variable.
The numbers that appear in the message box are changing rapidly, so this can not be them.
Though reading this is a clue to something?, The ID number of the message is returned by the send command that sent the message. What really does this mean? And how does one find the ID number of a pending message please?
Thankyou
chris
Pending messages - ID numbers where?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Pending messages - ID numbers where?
Hi Chris,
from the dictionary about "send":
Best
Klaus
from the dictionary about "send":
...
If you specify a time, the message is sent to the object after the specified time has elapsed. The message is added to the pendingMessages function.
The ID of the message is returned by the result function. To cancel the message, use the cancel command with this ID.
...

Code: Select all
...
send "whatever" to me in 10 secs
## Here you will get the ID, make it a local or global or carrot 8-)
put the result into tMessageID
...
Klaus
Re: Pending messages - ID numbers where?
thankyou Klaus. It makes sense now.