applescript - 在发送邮件之前检查附件是否已成功添加

时间:2016-04-27 06:33:49

标签: applescript applescript-excel

有没有办法在发送之前检查我的邮件是否有附件?

我已经在发送代码之前添加了延迟。

我的代码已经正常工作并且完美地添加了附件,但是我只是好奇Appleogle是否允许这样的案例进行防御性编码?

tell theMessage
    make new to recipient at end with properties {address:"xyz@abc.com"}
    make new attachment with properties {file name:attachmentFullName} at after last paragraph
end tell

0 个答案:

没有答案