I am using “Move Window” activity to move an application window to specific location, but some times it does not move window(happens rarely). Is there any way to get the current height and width of a window, so i can verify if “Move Window” activity worked fine or not. Thanks!
Use the below code to get screen size
var width = System.Windows.SystemParameters.PrimaryScreenWidth.ToString
var height = System.Windows.SystemParameters.PrimaryScreenHeight.ToString
Hi @aanandsanraj I do not need screenwidth/height. I want to find height/width of an application window, which i am opening and resizing using uipath’s “Move Window” activity.
Hope all is good with you, you can use get position activity to get a data you need such as ( Height, Width, Top, Left, Right, Bottom, X,Y etc… ).
let me know if it helps you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.