some elements respond to UI scripting, some not
some elements respond to UI scripting, some not
- Subject: some elements respond to UI scripting, some not
- From: "Jennifer Kolar" <email@hidden>
- Date: Mon, 17 Mar 2003 17:08:45 -0800
Hi,
I am trying to script a commercial non-scriptable application.. its elements
show up in UI Element Inspector but NOT in UI Browser... so that is a 1st
hint that something is screwy with this app..
I am finding that I can get menu buttons to work and tab group radio buttons
to work, but otherwise, the actions I am using aren't working.
For example:
If I tell it to click a button, the button flashes but the action I would
expect as a result of clicking that button doesn't happen.
Or, if I click a check box, again, the checkbox flashes, but it isn't marked
as checked..
Any ideas what to look for??
Here is a snippet of what I am doing-
--------
tell application BLAH to activate
tell application "System Events"
tell application process BLAH
set foremost to true
tell window "Window1"
if the value of check box "All" is 1
click check box "All"
end if
click radio button "Scan settings" of tab group 1
click check box "Avoid Duplicates" of group 1 of tab group 1
click button "Start Scan" of group 1 of tab group 1
end tell
end tell
end tell
----
the clicking the radio button actually activates and changes the tab shown..
however, clicking either check box only makes the box flash briefly and then
it isn't checked.. same with the button..
Any ideas?!?!
Thanks!
Jennifer
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.