Oferv
13 years agoSuper Contributor
Relative coordinates
Hi,
i don't like to use coordinates as an object recognition but i have a question regarding this kind of issue.
if i have the following line code:
//Double-clicks at point (10, 12) of the 'TextBox' object.
Aliases["DesktopMainWindow"]["HwndSource_DocumentInformationDialog"]["DocumentInformationDialog"]["Grid"]["Grid"]["TextBox"]["DblClick"](10, 12);
Does the coordinates in this case are relative? means it doesn't matter where i'm going to run this line it will not fail because of a resolution changing or similar stuff because it's relative to the object?
Thanks
i don't like to use coordinates as an object recognition but i have a question regarding this kind of issue.
if i have the following line code:
//Double-clicks at point (10, 12) of the 'TextBox' object.
Aliases["DesktopMainWindow"]["HwndSource_DocumentInformationDialog"]["DocumentInformationDialog"]["Grid"]["Grid"]["TextBox"]["DblClick"](10, 12);
Does the coordinates in this case are relative? means it doesn't matter where i'm going to run this line it will not fail because of a resolution changing or similar stuff because it's relative to the object?
Thanks