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.
Help/Unsubscribe/Update your Subscription: