how to get window size and position
Posted: 22 May 2020 03:18
Hello
Is there a command to get current window size and position?
yks45
Is there a command to get current window size and position?
yks45
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Code: Select all
$info = runret("""path to\XY_Size.exe"" <hwnd>");
$x = gettoken($info, 1, "|");
$y = gettoken($info, 2, "|");
$w = gettoken($info, 3, "|");
$h = gettoken($info, 4, "|");
text "X: " . $x . ", Y: " . $y . ", W: " . $w . ", H: " . $h;