Showing posts with label uiautomation. Show all posts
Showing posts with label uiautomation. Show all posts

September 19, 2023

Hotkey or Script to enable or disable Focus Assist in Windows 10

I was looking for a solution to set the Focus Assistant mode e.g. to Do not disturb by script, at the best with AutoHotkey. I share here finally how I can do this.

September 5, 2022

Teams Meeting Actions like fullscreen with AutoHotkey

I have tried to answer a user request to be able to set a Teams Meeting in Fullscreen with Autohotkey.
This is how close I could come using UIA. Unfortunately the click on the Fullscreen button is not working.

August 1, 2022

UIAutomation: Easily access properties

This video (How to easily access properties from UIA - YouTube) by The.Automator-s is a bit obsolete especially see here (t=417)



With one of recent Descolada's update in the UIAutomation library, you can now access the UIA properties directly.

I asked him about this handling in this issue and he nicely updated his library.

For example you can directly use .Name to access the 'Name' Property; no need to use the counter-intuitive .CurrentName anymore (as shown in Joe's video).

I recommend you keep your local UIAutomation library synchronized with the repo or check regularly for updates.

July 8, 2022

Shortcuts for Microsoft Teams Meeting Reactions (improved implementation based on UIAutomation)

I have shared in a previous post how to run Teams Meeting Reactions with a hotkey or command with AutoHotkey; this solution was based on ImageSearch/ FindText. I present here an improved solution based on UIAutomation.

July 1, 2022

Using UI Automation AHK Library to Control Microsoft Teams

I have recently learned (thanks to Joe and Isaias) about another way of automating programs with AutoHotkey based on the UI Automation API.
I give it a try here with Microsoft Teams. 
This post is a DRAFT.

Get Microsoft Teams Meeting Window using UIAutomation

I have shared previously how to get the active Teams meeting window with AutoHotkey with 2 ways: one prompting the user and an improved one using FindText.
I share now a better, more robust solution based on the UIAutomation library.

April 12, 2021

Teams Shortcuts: Mute on/ off

I explain in this post how you can implement a shortcut for the mute functionality for Microsoft Teams that not only toggle but set the wished mute state. It is implemented with AutoHotkey and makes use of the UIAutomation Library.