Allows generating a mouse click on a particular button. Returns 1 if the button has been found. 0 otherwise. Function is looking for the button among all children of the $parent. Not only first level children are considered by also second level, third level and so on.
- The parent window of the button
- Text or Control ID of the button
- [Optional] the time (0.25 means 250 ms) to wait between the mouse down and the mouse up event
Be careful when using this function. Detailed explanation of potential problems can be found here