Hello!!!
I am a happy user of Macro Scheduler and I need goto (focus) specified field for enter data that change the position in window in certain circumstances.
For this I need to refer to this field/control with its name. This is possible ?
Very thanks,
Reimon
Focus object
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You *may* be able to get the fields handle via it's class name using the Win 32 API function FindWindowEx. You may then be able to focus it directly.
It may be easier to use image recognition. Does the field have a label or something that uniquely identifies it? If so capture that part of the screen and use FindImagePos to find it.
It may be easier to use image recognition. Does the field have a label or something that uniquely identifies it? If so capture that part of the screen and use FindImagePos to find it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?