Re: Quark ps-file
Re: Quark ps-file
- Subject: Re: Quark ps-file
- From: Alberto Salvagnini <email@hidden>
- Date: Tue, 12 Jun 2001 08:17:44 +0100
Thanks again to everybody, but my script still not work
Maybe someone can use my experience:
JJ gave me two suggestions: Okey Dokey and PreFab Player.
It looks like Okey Dokey doesn't find the second dialog box (after saving the ps
file the first time)
and PreFab Player (on my machine als trial version) does the same: clicks the
first time the save button but not the second.
Then I was trying with QuarkXpress Passport 4.11 where the print button appears
only one time and - I wonder - nothing happened...
When I get the print setup with QuarkXpress Passport 4.11 I also cannot see the
"Virtual Printer" as possible printer and I get an error
somehow I have no luck with this script. I start to think maybe is something not
ok with my mac.
hier is my script, would be kind if somebody would try it out...
-------------------------------------------------------------------------------------------------------------
repeat with CurrentFile in docList
tell application "QuarkXPress 3.32r5"
activate
open CurrentFile use doc prefs yes remap fonts no do auto picture import no
tell document 1
--...Print setup
--1st variation
print PostScript file (CurrentFile as string) & ".ps" --" 0:Desktop Folder:" &
FileName & ".ps"
--2nd variation
TypeText "p" with Command
tell application "PreFab Player"
click button "Sichern"
click button "Sichern" --he doesn't find this button, Okey Dockey also not
try
click button "OK" --Fehlende/Modifizierte Bilder
on error
end try
end tell
copy (CurrentFile as string) & ".ps" to PsDokument
close saving no
copy AppleScript's text item delimiters to oldtextDel
set AppleScript's text item delimiters to ":"
copy last text item of (PsDokument as string) to PSFileName
set AppleScript's text item delimiters to oldtextDel
copy logText & "OK = " & FileName & " --> " & PSFileName & return to logText
end tell
end tell
end repeat
--------------------------------------------------------------------------------------------------------------------
Again thanks to everybody and greetings from rainy Hamburg
Alberto
[demime 0.98b removed an attachment of type text/x-vcard which had a name of asalvagnini.vcf]