so, ich glaube ich bin auf dem richtigen weg:
tell application "QuarkXPress Passport"
activate
global neuerNamen
global proppies
repeat with i from 1 to count of documents
tell document i
repeat with j from 1 to count of style specs
set neuerNamen to name of style spec j
try
make new character spec at beginning with properties {name:neuerNamen}
set proppies to properties of character attributes of style spec neuerNamen
set character style of style spec neuerNamen to neuerNamen
tell character spec neuerNamen
set properties to proppies
set properties to {style:{class:text style info, on styles:{plain}, off styles:{bold, italic, underline, outline, shadow, superscript, subscript, superior, strikethrough, all caps, small caps, word underline}}}
end tell
end try
end repeat
end tell
end repeat
end tell
was mich irritiert ist, wieso nimmt er die styles nicht korrekt mit? ich muss das im moment mit dieser zusatzanweisung lösen.
gruß
volkmar
als Antwort auf: [#422499]