2012-06-10 22 views
0

我有一個蘋果腳本,在郵件的最後打開帶有附件的撰寫郵件(新郵件)屏幕。如何使用附帶Apple腳本的撰寫郵件(新郵件)屏幕在指定位置?

但我想要一個蘋果腳本,將附件放在用戶指定position.I做了很多谷歌搜索,但沒有發現任何東西。請給我一些解決方案。

消息體模板低於:

親愛的名稱,

--------某些文本----------

--- -----某些文本-----------

附件1低於:

這裏附件1應該出現

附件2低於:

這裏附件2應該會出現

--------某些文本----------

----- ---有些文字-----------

感謝和問候,

回答

-1

下面是一個例子:兩個附件是第三段後插入圖表

set newOutgoingMessage to make new outgoing message with properties {visible:true, subject:"test", content:someText} 
tell newOutgoingMessage 
    make new paragraph with data (" " & return & return & return) at after paragraph 3 of content 
    make new attachment with properties {file name:filePath1} at after paragraph 4 of content 
    make new attachment with properties {file name:filePath2} at after paragraph 5 of content 
end tell 
+0

我必須支持阿拉伯語(從右到左對齊)。那麼是否有可能通過Apple Script for New Mail屏幕將內容右對齊?提前致謝。 –