$capture screen normal

Allows you to take a screenshot of a specific area of the screen.


Example

Running this code will take a screenshot of your specified screen area, saving it as the variable "#Base64Code", then will load it in the UBot browser.

set(#Base64Code,$plugin function("Desktop Automation.dll", "$capture screen normal", "True", 40),"Global")
load html("<image src=\"data:image/png;base64,{#Base64Code}\"/>")

Was this helpful?

Previous Article

$app window status

Next Article

$get foreground window