dblclick(button, x, y, shift, ctrl, alt);
Generates mouse events that move the mouse to the specified location and then double click the specified button. Default values will double click the left button in the center of the current window. The application is brought to the foreground if necessary. Methods which generate real mouse events should only be used when strictly necessary because they restrict the user from using the mouse or activating other applications. Another important thing to note is that mouse operations are asynchronous, meaning that Q1 will not wait until the click is processed before continuing the script. Any synchronization with the application under test will have to be done manually.