1
AppleScript初學者在這裏,仍然苦於基本的語法。AppleScript清單及其子句
這工作:
tell application "Mail"
set flagged to messages of inbox whose flagged status is true
log count of flagged
end tell
這不起作用:
tell application "Mail"
set msgs to messages of inbox
set flagged to msgs whose flagged status is true
log count of flagged
end tell
爲什麼? (我懷疑它是在逃避我一個簡單的語法規則)