Hiroto,
Sometimes the simplest way is OK. I tried the syntax you suggested:
click mouse times 2 delay 200
This seemed to compile with no problem. However, though I tried delays from 100 to 500, I couldn't get double-click to work (launch an app from a Finder window).
So, I thought, why not just use this:
click mouse
click mouse
..and see what happens?
Well, it worked every time.
Maybe I never hit the right length of delay times before. (But I will say that the mouse double-click seemed to take a long time to exit when executed, even though it did NOT effect the double-click.)
Another consideration in the timing is that different users can set the responsiveness of the mouse to different speeds, so that what is a good delay for me might not work for someone else. I wonder if the "click mouse" code reads the individual mouse double-click speed setting somehow? If so, it might be better to use the two click mouse commands rather than hard-code the interval anyway.
As always, Mac users are ready to give (Sixties cultural reference). 🙂
Thanks.
Everardo