Imion
Threadersteller
Dabei seit: 04.07.2003
Ort: Krefeld
Alter: 41
Geschlecht:
|
Verfasst So 17.04.2005 15:49
Titel Applescript und Quark |
|
|
Hallo zusammen,
kennt sich jemand mit Applescript aus und weiß wie ich Quark damit ansteuern kann? Ich hab nämlich ein Problem it dem erzeugen von Textfeldern.
Ich erhalte nämlich immer folgende Fehlermeldung bei "tell page 1 of Dokument 1".
Es wurde „Zeilenende“ erwartet, aber ein "number" wurde gefunden.
kann mir da jemand helfen?
Code: |
tell application "QuarkXPress Passport 5.0"
activate
set thepath to (choose folder with prompt "Select the Sample
Documents folder inside the Apple Events Scripting folder of your
QuarkXPress folder:") as text
tell "class DDOC" 1
set oldHeight to "class PHGT"
set oldWidth to "class PWDT"
set oldAutoTextBox to "class ATXB"
set oldGuidesShowing to "class gush"
set oldGuidePos to "class GUIF"
set xDocMeasure to "class HMEA"
set yDocMeasure to "class VMEA"
set "class PHGT" to "29,7 cm"
set "class PWDT" to "21 cm"
set "class ATXB" to false
set "class gush" to true
set "class GUIF" to true
set "lass HMEA" to «constant measU_CM"
set "class VMEA" to «constant measU_CM"
end tell
make document at beginning
tell document 1
set "class visc" to "constant VSCLFPWN"
end tell
end tell
tell page 1 of Dokument 1
make text box at beginning with properties {bounds:{"2 cm", "5 cm", "8 cm", "19 cm"}}
end tell
|
|
|