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 tellSometimes simplicity rocks, Marc _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
