Ich habe mir folgendes Script angepasst, leider passiert nichts.
Ich möchte PDFs aus einem Ordner in eine bestimmt Archivgruppe schreiben, kann mir bitte jemand helfen.
-- DEVONthink - Import to selected group.applescript
-- Created by Christian Grunenberg on Tue Jun 26 2012.
-- kopiert die Ausgangsrechnung aus hendriknettling rechnungen ins Archiv Firma Rechnungsausgang
on adding folder items to this_folder after receiving added_items
try
if (count of added_items) is greater than 0 then
tell application id "DNtp"
launch
set theGroup to RA
end tell
repeat with theItem in added_items
try
set thePath to theItem as text
if thePath does not end with ".download:" and thePath does not end with ".crdownload:" then
tell application id "DNtp" to import thePath to theGroup
end if
end try
end repeat
end if
end try
end adding folder items to