Last active
April 5, 2024 22:09
-
-
Save talkingmoose/771904e739c6277b61950185f85ad188 to your computer and use it in GitHub Desktop.
AppleScript to look up an Exchange user's free/busy time using Outlook for Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Microsoft Outlook" | |
query freebusy exchange account 1 for attendees {"bill@talkingmoose.net"} range start time date "Thursday, September 8, 2016 at 12:00:00 AM" range end time date "Friday, September 9, 2016 at 12:00:00 AM" interval 60 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(current date)
for right now or(current date) + 86400
for 24 hours from now. Substitute86400
for number of seconds in the future.60
to get back results for every 60 minutes between thestart time date
andend time date
or enter any other number.{"bill@talkingmoose.net", "2016-09-08 00:00:00 -0500", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "Remote Session", "Phone", "busy", "Remote Session", "Phone", "busy", "Remote Session", "Phone", "busy", "Remote Session", "Phone", "busy", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free", "", "", "free"}
Removing brackets and substituting commas with returns yields: