Moin,
kann mir hier jemand diese Mail Rule erklären die ja bei DT3 mit dabei ist, bin leider kein Scripter
Suche ein Script was bei Apple mail die Anhänge abholt und in den Eingang von DT3 packt!
Danke
-- Mail Rule - Add attachments to DEVONthink
-- Created by Christian Grunenberg on Fri May 18 2012.
-- Copyright (c) 2012-2019. All rights reserved.
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
set theFolder to (POSIX path of (path to temporary items))
repeat with theMessage in theMessages
set theSender to the sender of theMessage
repeat with theAttachment in mail attachments of theMessage
try
if downloaded of theAttachment then
set theFile to theFolder & (name of theAttachment)
tell theAttachment to save in theFile
tell application id "DNtp"
set theAttachmentRecord to import theFile to incoming group
set URL of theAttachmentRecord to theSender
end tell
end if
end try
end repeat
end repeat
end tell
end perform mail action with messages
end using terms from