Screenshot over locked PC

Hello, I use this script https://pastebin.com/xewxAPDD/. Is there any way to take a screenshot when the PC is locked?.

Thank You

I’d recommend not to link external sources when you only want to share a small piece of code … and BTW: your link does not work. :wink:

Anyway - AFAIK you cannot take a screenshot from a locked PC. :man_shrugging:t4: