cancel
Showing results for 
Search instead for 
Did you mean: 

Validate and change resolution in a monitor (Example of how to do that)

expertcr
Staff
Staff

In the past, someone asked me how to change the resolution in a process before validating if the current user has an incorrect resolution; this is very useful if you have a process that uses Region Mode, which requires a specific resolution to work as intended when the process was created.

We will work fine if you start using the "Utility—Environment" from the DX or if you already have it installed in Blue Prism.

General Overview of the process

expertcr_0-1744217466676.png

For more information on the usage of SetResolution, check the information in GitHub.

 

4 REPLIES 4

Hi, 

where I can get the batch file?

You wrote it is on GitHub but where?

Thanks.

Regards

Zdenek

expertcr
Staff
Staff

The batch file is already included in the image; just open Notepad and copy the Syntax.

expertcr_0-1744223033538.png

This is the link to download the SetResolution application from GitHUB https://github.com/RickStrahl/SetResolution

It is just the executable file, and you saved any location where you would like this to run. On my example was in C:\TEMP

Hi,

it does not work for me. It lists the profiles but when I call the program with parameters the resolution stays as before. I am attaching the screen shot I am taking after calling this exe.

Regards

Zdenek

1024x7681024x768

 

 

expertcr
Staff
Staff

I have an issue when using an invalid resolution, so the command returns the possible resolutions that you can use. I changed it to follow that, and it works fine.

If that doesn't work for you, show me a screenshot of the response from the program after running the command, just like in my example:

expertcr_0-1744296751800.png