<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You could set a global variable in the function and then check if that<br>variable has been set. If set (the second time the function is called)
<br>exit the markup function.<br></blockquote></div><br><br>If the double click caused two processes to be started on the host, this approach will probably not work.<br><br>A workaround could be to start a script (batch file) such as
<br><br>if exist abc.tct goto END<br>echo busy>abc.txt<br>whatever.exe -a -b -c<br>del abc.txt<br>:END<br><br>Not very elegant, but will probably solve your problem.<br><br>----<br><br>