• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Radio button in Acrobat not de-selecting.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Radio button in Acrobat not de-selecting.


  • Subject: Radio button in Acrobat not de-selecting.
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 12 Sep 2015 19:29:26 +1000

G’day

I’m trying to click a particular radio button of a group of 4 in the ‘Size’ panel in the Print dialog of Acrobat DC.

The button (number 2), clicks on OK, but the existing selected button (number 3), also stays clicked when the button above it is clicked using Applescript.

I’ve tried setting the value to 0, with no success.

Is there any other way of making sure the original selected radio button is turned off? It’s not a problem when manually clicking, only with Applescript.

Regards

Santa


tell application "Adobe Acrobat"
activate
do shell script ("sleep 0.4")
tell application "System Events" to tell process "AdobeAcrobat"
do shell script ("sleep 0.4")
click radio button "Actual size" of group 3 of window "Print"
do shell script ("sleep 0.4")
get every attribute of radio button "Shrink oversized pages" of group 3 of window “Print” —< default selected button


end tell
end tell


{attribute "AXEnabled" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXParent" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXSize" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXFocused" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXRole" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXTopLevelUIElement" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXHelp" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXValue" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXPosition" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXWindow" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXRoleDescription" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXTitle" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events", attribute "AXFrame" of radio button "Shrink oversized pages" of group 3 of window "Print" of application process "AdobeAcrobat" of application "System Events"}
 _______________________________________________
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

  • Prev by Date: Simulating a Modal Dialog
  • Next by Date: Re: Radio button in Acrobat not de-selecting.
  • Previous by thread: Simulating a Modal Dialog
  • Next by thread: Re: Radio button in Acrobat not de-selecting.
  • Index(es):
    • Date
    • Thread