{"repo":"mdgrs-mei/WinUIShell","free":true,"listed":false,"github":"https://github.com/mdgrs-mei/WinUIShell","clone":"git clone https://github.com/mdgrs-mei/WinUIShell.git","description":"Scripting WinUI 3 with PowerShell","language":"C#","stars":296,"topics":["winui3","gui","powershell"],"license":"MIT","category":"cli-tools","readme_excerpt":"WinUIShell Scripting WinUI 3 with PowerShell. WinUIShell is a PowerShell module that allows you to create WinUI 3 applications in PowerShell. [!NOTE] This module is in its prototyping phase. Frequent breaking changes are expected until this notice is removed. [!IMPORTANT] Starting from v0.10.0, the WinUIShell namespace structure follows the original namespace structure in the WindowsAppSDK. For example, Button class belongs to the WinUIShell.Microsoft.UI.Xaml.Controls namespace. Installation Requirements - PowerShell 7.4 or newer - Windows 10/11 build 10.0.17763.0 or newer Quick Start This code creates a Window that has a clickable button: If you dot-source the script and comment out $win.WaitForClosed() , you can inspect UI objects or even modify them on the terminal: Since the API of WinUIShell follows the WinUI 3's API, you can read the Windows App SDK documentation to see what should be available. The documentation of the Button class is here for example. You can also refer to the examples folder for script samples. How It Works WinUIShell launches a server process WinUIShell.Server.exe that provides all the UI functionalities. The WinUIShell module communicates with the server through IPC (Inter-Process Communication) to create UI elements and handle events. No WinUI 3 dlls are loaded in PowerShell. This model simplifies the script structure. You can write long-running code in event handlers without blocking GUI. It's also allowed to access properties of UI elements dire","default_branch":null,"files":null,"tree":[],"storefront":"/r/mdgrs-mei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mdgrs-mei/WinUIShell/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}