November 13, 2023

Quickly End/Leave Teams Meeting (PowerTools Shortcut)

I share in this post how to quickly leave or end a Teams meeting using the Teamsy Launcher in the Teams PowerTools.

Current Situation

In a Teams meeting, when you are the meeting organizer and you use the Leave Hotkey you won't be asked wether you want to Leave or rather End the meeting.
Also, if you want to End the meeting you need several clicks to achieve this. (Click on the Split button, Select End, Confirm)

PowerTools Implementation (AutoHotkey)

This is implemented in the Teams.ahk Library in the Teams_MeetingLeave function

The code checks first if the button with AutomationId=hangup-button exists. In this case there is no SplitButton and you are not the meeting organizer, so you can only Leave the meeting.
If the Hangup button does not exist, the code search for a More options SplitButton. (There is an another Element named "More options" in the meeting window, so you need to be more specific to pickup the right one.) 
It will then ask you if you want to End the meeting.

PowerTools Teamsy Usage

In the Teamsy Launcher, simply use the keyword "end" to end a meeting or "le" to leave a meeting.
If you are the Meeting organizer and you use "le", you will be friendly prompted if you want to End the meeting vs. only Leave it.
Ending the meeting will stop the recording as well.


This works of course (like any Teamsy shortcuts) even if the meeting window is not active.

See also

End Teams meeting to stop recording cleanly | Thierry Dalon's Blog

No comments:

Post a Comment