我想使用 Apple 脚本循环遍历 MAC 计算机中 Outlook 2011 的所有文件夹(意味着某种自动化)。
我有运行时抛出错误的脚本。
tell application "Microsoft Outlook"
set thisAccount to exchange account "Sigmaco"
set thisFolders to mail folder of thisAccount
end tell
*tell application "Microsoft Outlook" to set folderList to the folders*
repeat with nextFolder in folderList
my ProcessFolder(nextFolder, outputFolder)
end repeat
但是粗体样式的行会引发错误,即它无法遍历所有文件夹。
请帮忙...