任何人都知道Applescript會使用已在Applescript腳本上拖放的文件附件打開一封新郵件? (谷歌一直沒有幫助。)Applescript - 拖放文件附件以打開新電子郵件
我發現,打開一個新的電子郵件,並提示該文件附件命令,
set theAttachment to (choose file without invisibles)
以及允許硬編碼路徑附件剪刀,
set theAttachment to (((path to desktop) as string) & "myFile.jpg) as alias
但沒有允許拖放Applescript腳本圖標上的文件附件。
編輯11/28/10:找到並回答MacScripter/AppleScript | OS X並在下面添加。
這並不希望出於某種原因;它會打開一封新郵件但不會附加該文件。 – markratledge 2010-11-28 20:28:14