Recently Dj Dovus posted a tutorial on how to get the player's resolution. It quite openly exposed that no one has defined a way to get the x and y values of a window or objects within a window. These three functions will let you get the resolution of any window or object in a window from your interface. Please note this is for people who use an interface file (.DMF). Also, you only need to know how to use the 3 functions. The actual code doing the work doesn't need to be worried about.
getWinX(String Value) - Returns the X only.
getWinY(String Value) - Returns the Y only.
getWinRes(String Value) - Returns both as a list. Example : res or res
I was able to do this using Deadron's Text Handling library and using a modification of one of his processes. The major changes are switching the return to an integer, correcting some inconsistencies and error proofing it.