<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>send ___ to me in ___ sec</TITLE>

<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=963134420-23042002>Isn't there a way to "send ___ to me when all currently 
running scripts are done"?  Or, "send ___ to me on first idle 
message"?</SPAN></FONT></FONT></FONT></P>
<P><FONT><FONT><FONT face=Arial color=#0000ff size=2>I want something to happen 
after all other scripts in the queue have competed... <SPAN 
class=963134420-23042002> surely this is a common need.</SPAN><BR>For example, I 
need to do some clean up after a card is deleted.  The deletedCard message 
is sent before the delete, so I'm using this:</FONT></FONT></FONT></P>
<P><FONT face=Arial color=#0000ff size=2> on deleteCard 
<BR>    send updateList to field "myList" in 0.<SPAN 
class=963134420-23042002>1</SPAN> sec <BR>end deleteCard </FONT></P>
<P><FONT face=Arial color=#0000ff size=2>This works on my machine, but may not 
work on all machines in all situations.  Is there a more elegant way?  
How can I put the send command at the end of the currently <SPAN 
class=963134420-23042002>running </SPAN>scripts?</FONT></P>
<P><SPAN class=963134420-23042002><FONT face=Arial color=#0000ff size=2>Still 
hoping for a response from someone,</FONT></SPAN></P></DIV>
<DIV><FONT face=Arial>--</FONT><FONT face=Arial size=2> D</FONT> 
</DIV></BODY></HTML>