The SetTitleMatchMode = 2 commands relaxes the matching to “window title contains”. Lines 28-32 … activates and brings the Outlook window to the front.It also counts from top to bottom in pixels. So if you have 2 monitors that are 1024 x 768, the right hand monitor’s left edge is pixel 1025. Note that SysGet counts in pixels from far left to far right. Those values are stored in variables derived from the original variable as Mon2_Bound_right and so on. It returns 4 values: LEFT, RIGHT, TOP, BOTTOM. Line 23 … asks the system what are the dimensions of Monitor 2.In this case, it asks how many monitors are connected and stores the resulting integer in the variable num_monitors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |