使用applescript获取outlook帐户的全名

问题描述 投票:0回答:1

如何使用applescript在microsoft outlook中获取Outlook帐户的名称我已经尝试告诉应用程序“Microsoft Outlook”将名称设置为名称(获取帐户) - 使用html代码创建HTML签名使用属性创建新签名{name: “官方签名”,内容:html_content}结束告诉,但它出错,因为无法获得帐户名称。该帐户是一个类,名称是一个属性

applescript applescript-objc
1个回答
0
投票

对于任何可能发现这个有用的人:

tell application "Microsoft Outlook"
   set theAccount to the full name of the first exchange account
   --adapted from above comment account says it is an integer
   get the full name of every exchange account
end tell
© www.soinside.com 2019 - 2024. All rights reserved.