ich würde gerne das vorhandene Script “Modification > Creation Date” dahingehend ändern, per Dialog ein Datum einzugeben und dieses als ModificationDate zu speichern. Mein Versuch: set modification date of this_record to “03/07/2010” (wobei das Datum durch eine Variable ersetzt wird) ging leider daneben. Ich denke, dass das Datum so nicht richtig formatiert ist. Wie muß das ModificationDate formatiert werden, um dieses per Script in der Datenbank ändern zu können?
Auf deutschen Systemen sollte u.a. folgendes funktionieren:
set theDate to date ("25.03.2010")
tell application "DEVONthink Pro"
set theSelection to the selection
repeat with theRecord in theSelection
set modification date of theRecord to theDate
end repeat
end tell