• 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
Re: Requesting advice with Adobe Acrobat DC 2015, please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting advice with Adobe Acrobat DC 2015, please.


  • Subject: Re: Requesting advice with Adobe Acrobat DC 2015, please.
  • From: Robert Poland <email@hidden>
  • Date: Fri, 10 Jul 2015 05:54:12 -0600
  • Z-usanet-msgid: XID973TgJL3N5952X34

> On Jul 9, 2015, at 10:55:PM, Brian Christmas <email@hidden> wrote:
>
> G’day again scripters
>
>
> I’ve struck a serious problem when updating my App to use Adobe Acrobat DC 2015.
>
> I’m trying to use the GUI to print multi-page documents, but cannot un-tick a radio button when ticking a different button in the same group. Both buttons remain ticked, and the printing is defaulting to the unwanted button, printing multi-pages to a sheet, instead of 100%.
>
> Does anyone know of a different way to un-tick that darn button, or even better, how to direct print the document. I can’t find any documentation online of the direct printing formatting.
>
> I need to print all pages, at 100%, with a particular printer, the ‘theLargePagePrinter’. Also, we’re using Pitstop Pro 13.
>
> TIA,
>
> Regards
>
> Santa

Just a thought…

Try Preview instead of Acrobat.

> tell application "Adobe Acrobat" to activate
> 		do shell script ("sleep 0.2")
> 		tell application "System Events" to tell process "AdobeAcrobat"
> 			do shell script ("sleep 0.2")
> 			try
> 				keystroke "p" using command down
> 			end try
> 			do shell script ("sleep 0.2")
> 			try
> 				click pop up button 1 of group 1 of window "Print"
> 			end try
> 			set x to 0
> 			repeat until exists menu 1 of pop up button 1 of group 1 of window "Print"
> 				do shell script ("sleep 0.1")
> 				set x to x + 1
> 				if x ≥ 20 then exit repeat # wait 2 seconds
> 			end repeat
> 			do shell script ("sleep 0.2")
> 			try
> 				click menu item (my theLargePagePrinter) of menu 1 of pop up button 1 of group 1 of window "Print"
> 			end try
> 			do shell script ("sleep 0.2")
> 			try
> 				click radio button "All" of group 2 of window "Print"
> 			end try
> 			try
> 				click checkbox "Size" of group 3 of window "Print"
> 			end try
> 			do shell script ("sleep 0.2")
> 			try
> 				try
> 					say 1
> 					say (exists (radio button "Shrink oversized pages" of group 3 of window "Print")) as text --< "true"
> 				end try
> 				try
> 					say 2
> 					tell application "System Events" to display dialog (get every attribute of radio button 3 of group 3 of window "Print") as text — < fails
> 					say 3
> 				end try
> 				repeat while value of radio button "Shrink oversized pages" of group 3 of window "Print" is 1
> 					do shell script ("sleep 0.2")
> 					click radio button "Actual size" of group 3 of window "Print"
> 					# set value of radio button "Shrink oversized pages" of group 3 of window "Print" to 0 — < Cannot set value
> 					do shell script ("sleep 0.2")
> 				end repeat —< Keeps looping
> 			end try
> 			do shell script ("sleep 0.2")
> 			try
> 				click radio button "Actual size" of group 3 of window "Print"
> 			end try
> — < more code>
> 	end tell
> end tell
>
>
> _______________________________________________
> 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

Robert Poland
Fort Collins, CO


 _______________________________________________
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


References: 
 >Requesting advice with Adobe Acrobat DC 2015, please. (From: Brian Christmas <email@hidden>)

  • Prev by Date: Requesting advice with Adobe Acrobat DC 2015, please.
  • Next by Date: Re: Requesting advice with Adobe Acrobat DC 2015, please.
  • Previous by thread: Requesting advice with Adobe Acrobat DC 2015, please.
  • Next by thread: Re: Requesting advice with Adobe Acrobat DC 2015, please.
  • Index(es):
    • Date
    • Thread