Re: Writing a script to save a Quark document as an EPS
Re: Writing a script to save a Quark document as an EPS
- Subject: Re: Writing a script to save a Quark document as an EPS
- From: JJ <email@hidden>
- Date: Tue, 27 Mar 2001 10:27:02 +0200
>
Message: 3
>
Date: Mon, 26 Mar 2001 17:53:38 -0600
>
Subject: Writing a script to save a Quark document as an EPS
>
=?ISO-8859-1?B?ig==?=
>
From: Cobe Bence <email@hidden>
>
To: <email@hidden>
>
>
How can I get rid of the alert warning about binary data, or how can I
>
script for the alert to be "OK'd" automatically?
tell application "QuarkXPress"
activate
save page 1 of document 1 EPS format Mac black and white ,
EPS data binary EPS in file "HD:Desktop Folder:MyEPS.eps" (* you can
specify more options, depending on your Quark version *)
end tell
The fast way, if you want dismiss any dialog:
Prefab Player (
http://www.prefab.com/). It's a little extension that allows
a syntax like:
--YOUR SCRIPT & print document 1
tell app "Prefab Player"
disable user input
if exists button "OK" then
click button "OK"
end
enable user input
end
--END SCRIPT
You called "Prefab" when a print dialog appeared with buttons "OK",
"Cancel", etc.
The very fast way, Akua Sweets SA (
http://www.akua.com/)
automate alerts after (integer) -- The number of seconds after which
alerts are automatically 3OK29d.
[preferring button small integer] -- Prefer this button when
trying to first dismiss a dialog.
[pointer jumping boolean] -- Move the mouse to the default button?
[vertical bars boolean] -- Position the timer bars vertically?
[opposite bars boolean] -- Position time bars on the opposite side
(right or bottom) of dialogs.
[movables boolean] -- Handle movable modals as well as modals.
[shortcuts boolean] -- Enable keyboard shortcuts (letters activate
button with letter closest to start).
[log boolean] -- Used to disable the default logging of alert
text.
[persistent log boolean] -- Log to the 3Alertia Log2 file?
Result: string -- The accumulated alert text.
With this command you can dismiss EVERY DIALOG "after x seconds" in your
system until you restart. You can, too, activate/desactivate it with "shift
block".
JJ