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
为什么? (我怀疑它是在逃避我一个简单的语法规则)