# Scripting with the window size

**URL:** <https://forum.inductiveautomation.com/t/scripting-with-the-window-size/6145>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 3, 2013, 11:58am UTC](https://forum.inductiveautomation.com/t/scripting-with-the-window-size/6145 "2013-04-03T11:58:59Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![manjuyadav95.m](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@manjuyadav95.m](https://forum.inductiveautomation.com/u/manjuyadav95.m)\
**Post date:** [December 22, 2023, 10:37am UTC](https://forum.inductiveautomation.com/t/scripting-with-the-window-size/6145/6 "2023-12-22T10:37:02Z")

</div>

does it works only in vision ? or perspective too ? because i m getting exact my system display resolution from vision but not in perspective as it is returning some different ..  
system display resolution is : 1366 \* 768  
Vision o/p: 1366 \* 768  
Perspective o/p: 1024\*768

Please help to get same in perspective too

---

_[View the full topic](https://forum.inductiveautomation.com/t/scripting-with-the-window-size/6145)._
