2012-11-12 12 views
5

AppleScript'i tetikleyen herhangi bir e-postanın gövdesini almaya çalışıyorum. Bir test mesajı kaydedilmiş var ve ben tıklayın "Kurallar uygula" zaman, bu hatayı alıyorum:UTF-8 hatası: "<>" Gmail "in <>" INBOX "<95><95> kimliğinden <> yapamazsınız <>.

"<> < ait Gelemeyenler> id < arasında 9574> 'INBOX' < arasında> 'Gmail' içine <> yazın. "

DÜZENLEME:

using terms from application "Mail" 
on perform mail action with messages messageList for rule aRule 
    tell application "Mail" 
     repeat with thisMessage in messageList 
      try 
       say content of thisMessage 
      on error errMsg 
       display alert errMsg 
      end try 
     end repeat 
    end tell 
end perform mail action with messages 
end using terms from 

cevap

3

Dene:

say (content of thisMessage as text) 
İşte kodun ilgili kısmını oluşturuyor
İlgili konular