Re: Radio button in Acrobat not de-selecting.
Re: Radio button in Acrobat not de-selecting.
- Subject: Re: Radio button in Acrobat not de-selecting.
- From: Brian Christmas <email@hidden>
- Date: Sun, 13 Sep 2015 08:39:10 +1000
Thanks Yvan
I’d tried.
set focused of radio button "Actual size" of group 3 of window "Print" to true —< which works
click —< naturally doesn’t work
but did not use ‘click radio button "Actual size" of group 3 of window “Print”'
Your example set me straight.
Regards
Santa
try
set value of attribute "AXFocused" of radio button "Actual size" of group 3 of window "Print" to true --< saying value of it returns 'false'
end try
try
click radio button "Actual size" of group 3 of window "Print"
end try
On 13 Sep 2015, at 12:05 am, Yvan KOENIG <email@hidden> wrote:
Hello Brian
Did you tried to do what I described in an older thread :
if value of radio button 2 = 0 then
# The button is not selected.
# Probably an Adobe oddity, we must put the focus on it.
set value of attribute "AXFocused" of radio button 2 to true
# before clicking it
click radio button 2
(*
perform action "AXPress" of radio button 2 # Alternate syntax
*)
end if
When I tested with Adobe Reader, without explicitly setting the attribute to the clicked button the default one remained selected.
As you wrote that Acrobat doesn't behave like the Reader I can't test by myself.
Yvan KOENIG running Yosemite 10.10.5 in French (VALLAURIS, France) samedi 12 septembre 2015 16:05:29
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden