>Le 13 mars 07 à 00:10 Matin, Aliacta a écrit:
>
>>  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,
>
>Do you really have to write the tell process "My Application.debug" 
>statement twice?

yes (note it's 'tell process' and 'tell 
application' though, not two times 'tell process')

'click' only works with 'tell process' and 
'activate' only works with 'tell application' 
AFAIK.

Cheers,

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