Hallo und ein frohes neues Jahr an alle,
ich muss einige meiner Skripte für XPress 7 anpassen.
Eines der Skripte tauscht die Bilder aus und setzt
hinterher wieder die ursprünglichen properties.
Dabei gibt es 2 Probleme. Eines beim Abfragen der properties und eines beim Setzen.
Wegen der Probleme habe ich das Update von 7.0 auf 7.02 gemacht.
Das Resultat ist ewas anders aber nicht besser!
1. Abfragen von 'greek pictures'
Laut dictionary gibt es das property greek pictures.
Holt man sich vom image alle properties, dann erhält man jedoch
{... group items:false, ...}
'group items' gibt es im dictionary nicht!
2. Setzen von verschiedenen properties
'greek picture' wird anscheinend gar nicht mehr als Klasse erkannt
und das Skript kompiliert erst gar nicht.
'format lock' läßt sich auch nicht setzen.
Hat jemand ähnliche Erfahrungen gemacht?
Gruß Peter
------------------------------------------
tell application "QuarkXPress Passport"
tell document 1
tell picture box 1
--return properties of image 1
set properties of image 1 to {angle:"0°", color:color spec "Schwarz" of document "SinglePic.qxd" of application "QuarkXPress Passport", image trap:default, invert runaround:false, name:"", offset:{"0 mm", "0 mm"}, scale:{"47,3%", "47,3%"}, screen:4, screen angle:"45°", screen frequency:"60", screen function:dot spot, shade:"100%", show half tone:false, skew:"0°", suppress printing:false, content lock:false, opacity:"100%"}
--return properties of image 1
set format lock of image 1 to false
--> QuarkXPress Passport got an error:
--Can't set format lock of image 1 of picture box 1 of document 1 to false.
--Fehler bei 7.0 und 7.02
--set greek picture of image 1 to false
--> Expected end of line but found class name.
-- Das kompiliert gleich gar nicht.
return properties of image 1
end tell
end tell
end tell