On Mar 12, 2007, at 10:47 AM, David Glass wrote:

>
> On Mar 12, 2007, at 9:36 AM, Norman Palardy wrote:
>
>>
>> On Mar 12, 2007, at 10:20 AM, David Glass wrote:
>>
>>> How have you tried to push the button?
>>
>> I simply told System Events to post a click but that does not seem to
>> be working.
>> Have you managed to get a push to work ?
>>
>
> I used:
>
> click button "Cancel" of sheet "Log In" of window "Main"

OK I'll have to retry my script just to see why it did not work for me

>>
>> Tabbing may not be the best way but you can target an element with a
>> "tell"
>>
>
> I tried this (quickly, and only once), but it seemed to skip the tell
> directive, and send the text to the field with the focus.
>
> -----------
> Focus on UI element 10
>
> tell ui element 9 of sheet "Log In" of window "Main"
> keystroke "skslekfek"
> end tell
>
> The keystrokes I specified ended up in element 10.

Ahhh ok
Wonder if sending a tab to the Window would make the focus shift

>>> 3. I have no idea why most of the element would appear as unknown
>>> while buttons would register correctly.
>>
>> Me either.
>> I thought that all regular OS controls, which RB uses, would register
>> accordingly
>>
>
> I thought so too.  There must be something else involved in getting  
> them registered.

I suppose.

Time for me to read up some more on Apple site I guess

Maybe for a feature request as well ...
_______________________________________________
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