Revisiting Windows Runtime – 20th way to Automate Windows with AutoHotkey

The video features Joe Glines and Isaias Baez discussing the use of AutoHotKey with the Windows Runtime (WinRT) environment to automate media recording and playback. They explore the capabilities of WinRT, highlighting its potential to simplify and enhance automation tasks in Windows. The discussion covers the use of AutoHotKey to control media, the advantages of using Windows APIs over traditional methods like FFMPEG, and the potential for further development using WinRT.
Below are just some of the objects that you can access / use with Windows RunTime with AutoHotkey v2
| Windows.AI.Actions | Provides APIs for App Actions on Windows providers. For information about App Actions on Windows, see App Actions on Windows Overview. |
| Windows.AI.Actions.Provider | Provides APIs for implementing an App Actions on Windows provider app. |
| Windows.AI.MachineLearning | Enables apps to load machine learning models, bind features, and evaluate the results. |
| Windows.ApplicationModel.Chat | This namespace allows apps to implement messaging through SMS, MMS, and RCS protocols on devices that support it. |
| Windows.ApplicationModel.Contacts | Enables apps to select and acquire info about contacts. |
| Windows.ApplicationModel.DataTransfer.DragDrop | Manages dragging and dropping items. |
| Windows.ApplicationModel.Email | Supports creating and interacting with email messages, recipients, and attachments. |
| Windows.ApplicationModel.VoiceCommands | Provides support for handling voice commands in Cortana, entered by speech or text, to access features and functionality from a background app. When an app handles a voice command in the background it can display feedback on the Cortana canvas and communicate with the user using the Cortana voice. |
| Windows.Data.Html | Provides utility classes for working with HTML. |
| Windows.Data.Json | Provides support for JSON arrays, values, and objects. |
| Windows.Data.Pdf | Contains classes for converting a page in a Portable Document Format (PDF) document to an image file. |
| Windows.Data.Text | Provides support for identifying text segments and for determining the properties of Unicode characters. |
| Windows.Data.Xml.Dom | Provides support for the XML Document Object Model (DOM). |
| Windows.Devices | This namespace provides access to the low level device providers, including ADC, GPIO, I2 C, PWM and SPI. |
| Windows.Devices.HumanInterfaceDevice | This namespace gives your UWP app access to devices that support the Human Interface Device (HID) protocol. |
| Windows.Devices.Power | Provides APIs for detailed battery information. For more info, see Get battery information. |
| Windows.Devices.Scanners | Contains the classes, interfaces, structures and other components that are built on top of the Windows Image Acquisition (WIA) COM APIs to provide scan functionality for UWP apps and desktop apps. |
| Windows.Devices.Sms | Provides the ability to send and receive Short Message Service (SMS) messages, filter incoming messages, and send messages silently, as well as to query properties about a Mobile Broadband SMS Device. Use this API to implement Mobile Operator (MO) applications that use app-directed SMS to implement MO features such as visual voice mail apps. |
| Windows.Graphics.DirectX | Specifies pixel formats, and other enumerated constants, for use with Windows Runtime Direct3D 11 interop surfaces. |
| Windows.Graphics.Display | Contains components to determine aspects of a physical display. |
| Windows.Media.Audio | Provides APIs for routing, mixing, and processing audio. |
| Windows.Media.Capture | Provides classes for the capture of photos, audio recordings, and videos. |
| Windows.Media.Casting | This namespace lets an app to cast or send particular media content to a second device and is meant to be device-protocol agnostic. Today, the APIs work with Miracast, DLNA, and Bluetooth, and support images, audio, and video from HTML Tags, ImageElement and MediaElement. |
| Windows.Media.Editing | Provides functionality for editing, previewing, and saving edited media clips. |
| Windows.Media.Effects | Contains classes for discovering the audio processing chain on a device. |
| Windows.Media.FaceAnalysis | Provides APIs for face detection in bitmaps or video frames. |
| Windows.Media.MediaProperties | Provides classes and other programming elements needed to create properties for media formats. |
| Windows.Media.Ocr | Provides optical character recognition (OCR) API for reading text from images. |
| Windows.Media.SpeechRecognition | Enables speech recognition for command and control within Windows Runtime app. |
| Windows.Media.Transcoding | Contains classes for transcoding audio and video files. |
| Windows.Phone.ApplicationModel | Provides an app with access to core system functionality and run-time information about its app package. |
| Windows.Phone.Media.Devices | The Windows.Phone.Media.Devices namespace provides functionality that lets Voice over IP applications route audio to endpoints other than the speakerphone. |
| Windows.Phone.Notification.Management | Provides members that allow accessories to interact with the phone. |
| Windows.Phone.Speech.Recognition | Enables speech recognition for Windows Phone apps. |
| Windows.System | Enables system functionality such as launching apps, obtaining information about a user, and memory profiling. |
| Windows.System.Diagnostics | Provides diagnostic information about the system and running processes. |
| Windows.System.Diagnostics.TraceReporting | This namespace represents the Connected User Experience and Telemetry component that manages the telemetry escalations. |
| Windows.System.Display | Enables an application to request that a device’s display remain on even if there is no user activity for an extended period of time. |
| Windows.System.Power | Provides power and energy usage APIs. |
| Windows.System.Power.Diagnostics | Provides debugging APIs for computing your app’s total energy usage in real time. We recommend using these APIs only for debugging. |
| Windows.System.RemoteDesktop | Enables an application to obtain information about Remote Desktop sessions. |
| Windows.System.Threading | Enables an application to use the thread pool to run work items. |
| Windows.System.Update | Support for interactive control of system updates. |
| Windows.UI | Provides an app with access to core system functionality and run-time information about its UI. |
| Windows.UI.Accessibility | Provides support for working with accessibility devices such as screen readers and magnifiers. |
| Windows.UI.ApplicationSettings | Provides classes that allow developers to define the app settings that appear in the settings pane of the Windows shell. The settings pane provides a consistent place for users to access app settings. |
| Windows.UI.Composition | Provides APIs for user interface composition. |
| Windows.UI.Composition.Desktop | Provides APIs for user interface composition. |
| Windows.UI.Notifications | Contains classes that encapsulate tile, toast, and badge notifications. |
| Windows.UI.Notifications.Management | Provides APIs for reading and managing notifications. |
| Windows.UI.Notifications.Preview | Provides preview APIs for Windows notification features. |
| Windows.UI.Popups | Provides support for context menu and message dialogs. |
| Windows.UI.Shell | Provides support for connecting apps with native elements of the Windows UI through the Windows Shell. |
| Windows.UI.StartScreen | Provides ways for apps to integrate with the Start screen, such as the creation of secondary tiles and the customization of jump lists. |
| Windows.UI.Text | Provides support for working with textual content. |
| Windows.UI.Text.Core | Provides types for accessing the Windows core text APIs and the text input server. Windows core text is a client-server system that centralizes the processing of keyboard input into a single server. You can use it to manipulate the edit buffer of your custom text input control; the text input server ensures that the contents of your text input control and the contents of its own edit buffer are always in sync via an asynchronous communication channel between the application and the server. |
| Windows.UI.WebUI | Provides APIs that are specific to apps written in HTML, JavaScript, and CSS. |
| Windows.Web.Http | Provides a modern HTTP client API for UWP app. |
| Windows.Web.Http.Filters | Provides classes to send HTTP requests and an interface to create filters to target HTTP and REST services in UWP app. |
| Windows.Web.Http.Headers | Provides support for HTTP headers used by the Windows.Web.Http namespace for UWP app that target HTTP services. |
| Windows.Web.Syndication | Manages syndication feeds. |
| Windows.Web.UI | This namespace allows Win32 apps to host the UWP WebView control Out of Process and take full advantage of HTML5. Most of these APIs are a reflection of the Windows.UI.Xaml.Controls.WebView control. |

