I am using an “on message received” handler to process certain phrases in the Messages app. One part of the script downloads a file from a slow server, usually taking 20-30 seconds to complete. Is there any way of preventing Messages from displaying the following dialog…
It’s easy to do, with wrapping:
with timeout of 50 seconds
-- HERE GOES YOUR ORIGINAL HANDLER
end timeout