VBScript for Labels/Edits

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

VBScript for Labels/Edits

Post by pgriffin » Fri Oct 27, 2006 4:38 pm

I need to find a sure way to associate an edit field in an application with it's associated label.

I am sure this will be some VBScript solution, but am searching various VBScript forums with no luck.

Is this possible without resorting to relating screen objects based on their screen position? That seems unreliable since a user could change resolutions and therefore change screen postions of Labels/Edit fields.

so if the screen contains CUSTOMER ____________

then I want to recognize that the label CUSTOMER is related to the edit field adjacent to customer.

clear enough?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts