Forum Discussion
hunggsta
12 years agoOccasional Contributor
Trying to add some text to a Java Text Field on an already launched app. When I record the script I get something like:
var textfield = Sys["Process"]["javaw"]...["GPanel-133345"][Gjp"];
textfield["Click"](300,7);
I can run this script on the tested app and it will work. But when I restart the tested app, the number changes for GPanel and it can't find it.
I tried:
var textfield = Sys["Process"]["javaw"]...["GPanel*"][Gjp"];
and I get that it can't find the object GPanel*
var textfield = Sys["Process"]["javaw"]...["GPanel-133345"][Gjp"];
textfield["Click"](300,7);
I can run this script on the tested app and it will work. But when I restart the tested app, the number changes for GPanel and it can't find it.
I tried:
var textfield = Sys["Process"]["javaw"]...["GPanel*"][Gjp"];
and I get that it can't find the object GPanel*
Related Content
- 5 years ago
- 4 years ago
- 10 months ago
- 6 years ago
Recent Discussions
- 3 days ago