Playnite Forums
Progress window in PowerShell script - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Development (https://playnite.link/forum/forum-10.html)
+--- Forum: Extensions (https://playnite.link/forum/forum-5.html)
+--- Thread: Progress window in PowerShell script (/thread-1309.html)



Progress window in PowerShell script - Guijar - 08-12-2022

Hi all!!

I'm building an extension based on some scripts that I made some time ago for managing my rom collection. For some of the procesess I'm trying to implement a progress window, but struggling to make it work. Could anyone post me a simple example of how to make work the "ActivateGlobalProgress" in a PowerShell script please? 

Thans and sorry about my poor english grammar hehe.


RE: Progress window in PowerShell script - Crow - 08-12-2022

Any methods that involve background threads, which is the case of ActivateGlobalProgress, will not work from PowerShell scripts. You need to make C# plugin.