This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
token:FrontWindowFrame [2016/03/09 02:21] ccstone |
token:FrontWindowFrame [2016/03/09 03:32] ccstone |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The //%FrontWindowFrame%// token returns the frame of the front window (same as //%WindowFrame%1%//). | + | The //%FrontWindowFrame%// token returns the location in pixels of left, top, width, and height of the front window in a comma-delimited numerical array. |
+ | |||
+ | %WindowFrame%1% is synonymous and may be used interchangably. | ||
The returned array resembles this: | The returned array resembles this: | ||
Line 8: | Line 10: | ||
left,top,width,height | left,top,width,height | ||
``` | ``` | ||
- | ``` | ||
- | x1,y1,x2,y2 | ||
- | 228 == x1 | ||
- | 23 == y1 | ||
- | 1314 == x2 | ||
- | 1173 == y2 | ||
- | |||
- | x1,y1 refers to the upper left corner of the window. | ||
- | x2,y2 refers to the lower right corner of the window. | ||
- | ``` |