Wie kann ich alle Partienamen in ein Textfile exportieren?
Danke und Gruß LO
Wie kann ich alle Partienamen in ein Textfile exportieren?
Danke und Gruß LO
Copy&Paste aus dem Projekt Info Fenster. Es gibt keine einfache Exportmöglichkeit.
Edit: Hast du das nicht schon einmal gefragt?
Falls du auf Mac bist, hier ein AppleScript, die die Partie-Titel aus dem Partie-Optionen Fenster liest, das script müsste auch in der Deutschen Lokalisierung funktionieren. Die Text-Datei wird auf dem Schreibtisch gespeichert.
Code in den Script Editor kopieren und starten, das Projekt muss in Dorico geöffnet sein, aber kein offenes Partie-Optionen Fenster.
activate application "Dorico 6"
tell application "System Events"
tell process "Dorico 6"
set workTitle to title of window 1
keystroke "n" using {command down, shift down}
repeat until exists (first window whose title contains "option")
delay 0.2
end repeat
set flowTitles to title of UI element 1 of rows of list 2 of window 1
click button 1 of group 1 of window 1
end tell
end tell
set {saveTID, text item delimiters} to {text item delimiters, {linefeed}}
set flows to flowTitles as text
set text item delimiters to saveTID
set destinationPath to POSIX path of (path to desktop) & workTitle & "_FlowTitles.txt"
try
set fileDescriptor to open for access destinationPath with write permission
write flows to fileDescriptor
close access fileDescriptor
on error
try
close access destinationPath
end try
end try