简体   繁体   中英

How to Get the Meeting Details from MS Outlook when the meeting window is Opened using Apple script

I am trying to execute a Apple script on MS Outlook calendar to get the meeting details like "Date &Time ", Time zone and other stuff.

I can able to get the require details when the meeting invite is closed and then selected but when the same invite is opened then i couldn't able to get any details from the apple script.

can some one please suggest me what exactly i need to do to get the required details.

Thanks, Ravi.

Here is one way:

tell application "Microsoft Outlook"
    if (count of (windows whose index is 1)) is not 0 then
        set olObject to object of item 1 of (windows whose index is 1)
        if class of olObject is calendar event then
            set thisEvent to olObject
            get timezone of thisEvent
            get start time of thisEvent
        end if
    end if
end tell

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM