【问题标题】:create a meeting invite in outlook 2011 using apple script使用苹果脚本在 Outlook 2011 中创建会议邀请
【发布时间】:2014-02-28 22:47:15
【问题描述】:

我正在尝试使用苹果脚本在 Outlook 2011 中创建会议邀请。我已经打开了outlook会议课的字典

我尝试使用

创建会议活动
tell application "Microsoft Outlook"

    set currentTime to (the current date)

    set newEvent to make new calendar event with properties {location:"Dial In : +4319284090,  Conference code: 5270687926", start time:(currentTime + (60 * 60)), end time:(currentTime + (60 * 60) + (60 * 60) / 2), content:fileContents}

    set newMeeting to make new meeting message with properties {meeting:newEvent}
    open newMeeting

end tell    

但我得到了错误

error "Microsoft Outlook got an error: AppleEvent handler failed." number -10000

有没有人可以帮助我,我会感谢你的努力。

【问题讨论】:

    标签: scripting outlook applescript osx-mavericks


    【解决方案1】:

    根据字典,meeting messageA meeting message recieved by the user. 这不是作为邀请发出的实际消息。换句话说,meeting message 是当其他人邀请您参加会议时显示在您收件箱中的消息。

    calendar event 有一个 attendee 属性。我在玩它的 10 分钟内无法让它工作,但我的假设是在创建日历事件时,邀请将发送到 attendees

    请注意,attendee 是一个只读列表。创建事件时,您必须指定required attendeesoptional attendees 的列表。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-12-29
      • 1970-01-01
      • 1970-01-01
      • 2018-04-09
      • 2015-04-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多