Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
Autor |
Nachricht |
OWendtland •->


Anmeldedatum: 18.04.2001 Beiträge: 6 Wohnort: Detmold
|
Verfasst am: 18.04.2001 - 09:53 Titel: XPress 4.11 Bilder ausschneiden - Ausschneiden aus und ein b |
|
|
Hallo!
Ich habe folgendes Script, welches die Ausschneiden-Funktion von Quark deaktiviert. Hierbei hat man die Wahl, ob bei TIFF oder EPS oder beiden Bildformaten deaktiviert werden soll.
Es gibt Probleme bei Tiffs mit dem Ausschneiden von "Nichweiße Bereiche", aber keine bei "Eingebetteter Pfad".
Ich möchte jetzt bei Tiffs mit eingebettetem Pfad keine Änderung, bei EPS immer ausschalten/ändern und bei Tiffs mit der Einstellung "Nichtweiße Bereiche" in "Eingebetteter Pfad" andern (so vorhanden) oder deaktivieren.
Hier das Script (ist allerdings nicht von mir...):
tell application "QuarkXPress Passportô 4.11"
activate
--Select the type of Images to modify
set ImageType to button returned of (display dialog "What file format would you like to affect?" buttons {"TIF", "EPS", "All Images"} default button "All Images")
if ImageType is not equal to "All Images" then
set SecondChance to button returned of (display dialog "This may take much longer than All Images." & return & "Would you like to change your selection to All Images?" buttons {"Cancel", "All Images", "Continue"} default button "Continue")
if SecondChance is equal to "All Images" then set ImageType to SecondChance
end if
--Perform the modification
tell document 1
if ImageType is equal to "All Images" then
try
delete clipping path 1 of image 1 of every picture box
on error errmsg
end try
else
repeat with i from 1 to count of picture boxes
tell picture box i
if (file type of image 1 as text) contains ImageType then
try
delete clipping path 1 of image 1
on error errmsg
end try
end if
end tell
end repeat
end if
end tell
end tell
Bin für jede Antwort/jeden Tipp dankbar.
Oliver (Newbie) _________________ Oliver Wendtland
Datenoperator
Digitale Druckvorstufe |
|
Nach oben |
|
 |
onlineskater •->

Anmeldedatum: 29.06.2001 Beiträge: 5
|
Verfasst am: 11.07.2001 - 15:43 Titel: XPress 4.11 Bilder ausschneiden |
|
|
Ich kann leider keine Antwort geben, aber einen Tipp. Von Quark gibt es - man soll es kaum glauben - eine ziemlich gut Scripting-Referenz. PDF-Datei, 130 Seiten stark. Ausserdem gibt es noch einige anderer nützliche Infos.
Und zwar unter http://www.quark.com/support/techinfo/info.cfm?idx=900070
Greetinx M. Kasper |
|
Nach oben |
|
 |
|
|
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen.
|
Powered by phpBB © 2001, 2002 phpBB Group Deutsche Übersetzung von phpBB.de
|
|
|