현재받은 편지함에있는 읽지 않은 메일을 읽는 AppleScript를 사용자 정의하려고합니다. 사실 기본적으로 메일의 날짜를 관리 할 수 있습니다.AppleScript로 이메일의 날짜 받기
"...receivedate of id... cannot be converted to Type reference..."
누군가가 가지고 :
주위에 인터넷 검색의 약 2 시간 후 나는이 중 하나를 사용하려고 할 때 나는 receivedate 또는 deliverydate되어야하지만 필요한 변수가 나는 오류 다음과 같이 얻을 발견 아이디어, 어떻게 변환 할 수 있습니까?
그리고 이것은 내 현재 코드 :
tell application "System Events"
set processList to (name of every process)
end tell
if processList contains "Mail" then
tell application "Mail"
if (unread count of inbox) > 0 then
set messageList to (messages of inbox) whose read status is false
set output to "Mails:" & return & return & ""
repeat with itemNum from 1 to (unread count of inbox)
set itemDate to (receivedate of item itemNum of messageList)
set output to output & itemDate & " - " & (extract name from sender of item itemNum of messageList) & return & subject of item itemNum of messageList & return & return
end repeat
end if
end tell
else
set output to "ÄpplMäil isch aus..."
end if
아, 그래, 내가 실제로 찾고있는 것! 라이브러리 윈도우에서도 마찬가지입니다. 예를 들어서 그처럼 열심히 검색해 보았습니다. 편집자 자체에서보기 싫었던 것입니다 .- ' 정말 고마워요! –