Hallo rene-gade,
eine Kurzfassung des AppleScripts, welches den Dokumentnamen, die Breite und die Höhe in eine csv-Zeile setzt:
tell application "Adobe InDesign CS6"
tell document 1
set docName to name
tell document preferences
set pW to (page width) as string
set pH to (page height) as string
end tell
end tell
end tell
set docPrefs to docName & ";" & pW & " x " & pH & return
Ergebnis:
"Testdokument.indd;210 mm x 297 mm
"
Der Code des Droplets wird etwas zeilenreicher ausfallen. Ich werde es Dir per PM zustellen, sobald es fertig sein wird.
Ach ja: Es wird davon ausgegangen, dass alle Seiten eines Dokuments gleich gross sind.
Sonst müsste man jede Seite direkt abfragen und die 'bounds' verlangen:
tell application "Adobe InDesign CS6"
tell document 1
set docName to name
tell page 1
set pW to item 4 of bounds as string
set pH to item 3 of bounds as string
end tell
end tell
end tell
set docPrefs to docName & ";" & pW & " x " & pH & return
Gruss, Hans