• 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
Tiger broke the print command in quarkXpress - who else has notice this
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tiger broke the print command in quarkXpress - who else has notice this


  • Subject: Tiger broke the print command in quarkXpress - who else has notice this
  • From: Gaetan Trudel <email@hidden>
  • Date: Tue, 29 Nov 2005 16:14:35 -0500

Hi,

This was working perfect 10.3.9

tell application "QuarkXPress 6"
	activate
	tell document 1
		print page "1"
	end tell
end tell

Completely broken in 10.4.2 and 10.4.3

The quark application quits on it.
who else has noticed this ?

Could somebody try the script above and confirm the bug ? (thank you)

Trying to use the UI does not work either. The button flashes but the action
is not performed.
(script down below)

(PS: Please do not suggest that I buy a quark extension, I wrote an
efficient script that has worked for years exactly to avoid this).

Thank you,

Gaetan Trudel
(514) 279-4571
Prepress Technical Adviser

Transcontinental Litho Acme
85 de Castelnau St. W.
Montreal, QC Canada
H2R 2W3

--------- the UI script
tell application "QuarkXPress 6"
	activate
	set nSecs to 1
	set pgeName to "1"
	--set psName to
":Users:trudelg:Desktop:pageGenTempFolder:pageFilesFolder:12345_1.ps"
	set errorTrue to false
	tell application "System Events"
		UI elements enabled
		tell process "QuarkXPress"
			tell menu bar 1
				try
					with timeout of nSecs seconds
						click menu item "Print..."
of menu "File"
					end timeout
				on error err1
					set errorTrue to true
				end try
			end tell
			keystroke "1" as Unicode text
			keystroke tab as Unicode text
			keystroke pgeName as Unicode text
			tell button "Printer..." of window 1 to perform
action "AXPress"
		end tell
	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:

This email sent to email@hidden

References: 
 >Re: Problem with GUI Scripting (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: [OT] Re: Oh lord, here we go again
  • Next by Date: Re: Problem with GUI Scripting
  • Previous by thread: Re: Problem with GUI Scripting
  • Next by thread: Re: Problem with GUI Scripting
  • Index(es):
    • Date
    • Thread