- Registriert
- 16.11.12
- Beiträge
- 41
Hallo zusammen,
ich speichere meine Emailanhänge (Rechnungen von Kunden) automatisch über die Email Regel mit Hilfe des folgenden Skriptes:
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
repeat with oneMessage in theMessages
set {mail attachment:theAttachments} to oneMessage
repeat with oneAttachment in mail attachments of oneMessage
save oneAttachment in ("Macintosh HD:Users
ownloads:Neuer Ordner:") & (name ofoneAttachment)
end repeat
end repeat
end tell
end perform mail action with messages
end using terms from
Nun möchte ich gerne das der Dateiname = der Betreff der Email ist.
Hat vielleicht jemand eine Idee, was ich dafür an den Script noch ändern müsste?
Vielen Dank schon einmal für eure Hilfe.
Gruß Matthias
ich speichere meine Emailanhänge (Rechnungen von Kunden) automatisch über die Email Regel mit Hilfe des folgenden Skriptes:
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
tell application "Mail"
repeat with oneMessage in theMessages
set {mail attachment:theAttachments} to oneMessage
repeat with oneAttachment in mail attachments of oneMessage
save oneAttachment in ("Macintosh HD:Users

end repeat
end repeat
end tell
end perform mail action with messages
end using terms from
Nun möchte ich gerne das der Dateiname = der Betreff der Email ist.
Hat vielleicht jemand eine Idee, was ich dafür an den Script noch ändern müsste?
Vielen Dank schon einmal für eure Hilfe.
Gruß Matthias