outlook - AppleScript 将 Outlook 电子邮件移动到文件夹
问题描述
我已经使用下面的脚本几个月了,没有任何问题,但是最近似乎找不到我添加到 Outlook 的任何新文件夹,对于那些已经存在的文件夹仍然可以正常工作。
该脚本适用于 n 层,无需我显式定义子文件夹。
on run {}
tell application "Microsoft Outlook"
activate
set messageAccount to first exchange account
set aMessage to selection
set messageSender to sender of aMessage
set senderName to name of messageSender
try
move aMessage to folder senderName
on error
display dialog senderName & " not found."
end try
end tell
end run
解决方案
推荐阅读
- java - 如何制作可以在公共方法中返回的数组的副本?
- java - 如何用一维矩阵实现二维矩阵
- flutter - 如何为在屏幕上移动的图像设置动画?
- java - 调整屏幕截图的大小以适合矩形
- arrays - 使用 Python3 将字节对象中的十六进制 Ascii 表示形式转换为 Ascii 字符串
- gsuite-addons - Easy Bib 不再安装
- javascript - 元音没有被过滤掉
- php - Laravel 无效参数异常
- excel - 返回 #VALUE 的 Excel 索引/匹配公式!错误
- visual-studio-2019 - 模板中未定义操作“For_each”中“输入”引用的操作“Execute_stored_procedure (V2)”