05-26-2006, 04:00 PM
Use STATE_SYSTEM_UNAVAILABLE flag. Even better, use DoDefaultAction instead of Mouse(1). If still does not work, insert some delay, eg 0.2, after a.Mouse or a.DoDefaultAction.
Example with QM Options dialog, Security tab, QM 2.1.8:
Example with QM Options dialog, Security tab, QM 2.1.8: