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


Anmeldedatum: 18.04.2001 Beiträge: 6 Wohnort: Detmold
|
Verfasst am: 09.07.2001 - 12:52 Titel: XPress-Script 9.04 --> 9.1 - Scriptl”uft unter 9.1 nicht meh |
|
|
Dieses Script, welches unter 9.0.4 noch sauber lief,
gibt mir unter 9.1 folgende Fehlermeldung:
############
tell application "QuarkXPress Passportô 4.11"
activate
´event sysodlogª "What file format would you like to affect?" given ´class btnsª:{"TIF", "EPS", "All Images"}, ´class dfltª:"All Images"
---> QuarkXPress Passportô 4.11 got an error: "What file format would you like to affect?" doesn't understand the ´event sysodlogª message.
end tell
#############
Hier das Script:
tell application "QuarkXPress Passportô 4.11"
activate
--Select the type of Images to modify
set ImageType to ´class bhitª of (´event sysodlogª "What file format would you like to affect?" given ´class btnsª:{"TIF", "EPS", "All Images"}, ´class dfltª:"All Images")
if ImageType is not equal to "All Images" then
set SecondChance to ´class bhitª of (´event sysodlogª "This may take much longer than All Images." & return & "Would you like to change your selection to All Images?" given ´class btnsª:{"Cancel", "All Images", "Continue"}, ´class dfltª:"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
Was ist denn unter 9.1 anders bzw. worin liegt der Fehler? |
|
Nach oben |
|
 |
Folker •---->


Anmeldedatum: 11.12.2000 Beiträge: 649 Wohnort: Holsteinische Schweiz
|
Verfasst am: 09.07.2001 - 13:13 Titel: XPress-Script 9.04 --> 9.1 |
|
|
Hallo,
schon auf AppleScript 1.6 upgedatet?
Und dann, öffne das Script, setz irgendwo eine leere Zeile rein (return drücken) oder auch ein Leerzeichen und kompiliere das Script neu! Die ersten Dialoge laufen bei mir einwandfrei.
Gruß,
Folker
PS: Wenn das nicht hilft suchen wir weiter Ö _________________ Gruß,
Folker Brandt
=============================
Systemberatung · Datenbanken · Webdesign |
|
Nach oben |
|
 |
Folker •---->


Anmeldedatum: 11.12.2000 Beiträge: 649 Wohnort: Holsteinische Schweiz
|
Verfasst am: 09.07.2001 - 15:16 Titel: XPress-Script 9.04 --> 9.1 |
|
|
Hallo,
habe mir jetzt einmal das ganze Script durchgesehen - davon mal ganz abgesehen, das ich meist mit QXP 3.3.2 arbeite, welches einen clipping path nicht kennt, läuft es bei mir auf einem Testrechner mit zugegebenermaßen einfacher Testdatei mit QXP 4.1 ohne Fehler durch.
Gruß,
Folker _________________ Gruß,
Folker Brandt
=============================
Systemberatung · Datenbanken · Webdesign |
|
Nach oben |
|
 |
Snow Administrator


Anmeldedatum: 21.11.2000 Beiträge: 1946 Wohnort: Deiningen
|
Verfasst am: 09.07.2001 - 19:36 Titel: XPress-Script 9.04 --> 9.1 |
|
|
Hallo,
sieht danach aus als ob die Security-Dateien im System nicht aktiv wären.
Ich weiß jetzt nicht genau, ob man alle braucht. Zumindest die Security Library sollte in den Systemerweiterungen sein.
Ohne diese Security-Erweiterungen funktionieren die Standard Additions nicht zuverlässig.
'event sysodlog' steht ja für "display dialog"
Also ein eindeutiges Indiz dafür, dass es damit zusammenhängt.
Gruß _________________ Peter
-
Fischer-Bayern.de|Shadetreemicro.com
Zuletzt bearbeitet von Snow am 01.03.2003 - 15:42, insgesamt einmal bearbeitet |
|
Nach oben |
|
 |
OWendtland •->


Anmeldedatum: 18.04.2001 Beiträge: 6 Wohnort: Detmold
|
Verfasst am: 10.07.2001 - 07:51 Titel: XPress-Script 9.04 --> 9.1 |
|
|
Ich habe sowohl auf AppleScript 1.6 updated/upgedatet (gibts hierfür eine korrekte Form? Egal) als auch die Security-Erweiterungen aktiviert.
ES LÄUFT WIEDER!
Vielen Dank dafür.
Oliver _________________ Oliver Wendtland
Datenoperator
Digitale Druckvorstufe |
|
Nach oben |
|
 |
|