cancel
Showing results for 
Search instead for 
Did you mean: 
GuillaumeM
Level 3
Status: New
Hello guys,.

Since our digital workers are hosted on vmware, it's alway a pain to find a way to set a specific screen resolution for the bot session.
A common objet to achieve this  would be very helpful.

Thanks !
1 Comment
AndreyKudinov
Level 10
Try this: https://raw.githubusercontent.com/aikudinov/BlueprismVBO/master/BPA%20Object%20-%20ScreenResolution.xml

SetScreenResolution - Remembers original screen resolution on first use, sets new resolution and restores original on clean up (aka process end) automagically.
zChangeDisplaySettings - This action just changes resolution and won't attempt to restore anything.
You should pick one or another, mixing them within one process can break restoring back to original.
Both expect w,h as input and return success flag and winapi return code + description.