Forum Discussion

hogueybear's avatar
hogueybear
Occasional Contributor
10 years ago

In a script is there a way to highlight an object on the screen?

For development it would be nice if I could do something like this:

 

var progressPane = Aliases.java.frame0.find("text", "Progress", 20000);
if (!progressPane.exists) {
  Log.error("Find failed for (text, Progress)");
}
progressPane.HighlightOnScreen;

 

And have it do something similar to the "Highlight on Screen" option in the object browser to show me the object boundaries.