tell application "System Events"
        tell process "My Application.debug"
                tell application "My Application.debug"
                        activate
                end tell
                click UI element "<Button's Caption>" of front window
        end tell
end tell


Sometimes simplicity rocks,

Marc
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to