October 23, 2023

Teams New: Switch Tenant with a Hotkey

Introduction

Request





Solution Idea


Using the UIAutomation Library

Click on the Avatar: AutomationId: idna-me-control-avatar-trigger

Click on the Menu on the bottom to Switch - Find by Name/Type

AutoHotkey Code

Code is available in the Teams Library Lib/Teams.ahk -> Teams_SwitchTenant function

Teamsy usage


Use the "sw" keyword followed by the Tenant name (partial match, starting letters), match is case insensitive.

Pretty easy.

No comments:

Post a Comment