In a macro I am writing I need to make sure that a function of the software is always turned off. The feature is turned off or on by clicking on an item on a drop-down menu. If the feature is turned on then a check mark appears beside the item, and if it is turned off then no check mark appears. So the menu item is a toggle switch.
I have tried a few approaches, including using the GetRectCheckSum to find out if the check mark is on or off. But different screen resolutions, fonts, and changing position of the item has made it impossible to determine one checksum value for the square and thus the items on/off status.
Anyone have a solution?
How do I detect a check mark on a drop-down menu
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
It is very possible that the status of that checkbox is in the registry or in an ini or similar file. If that is the case, then you can just read the registry key value or the ini value.
That will probably be the easiest way to deal with the checkbox status.
What is the program with the CheckBox? What version?
That will probably be the easiest way to deal with the checkbox status.
What is the program with the CheckBox? What version?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
I checked for .ini files and their were not any. However, registry entries sound promising. How does someone go about finding the proper entry amounst so many entries?
The program is a library cataloguing software called "BiblioFile ITS for Windows Workstation". It comes with a 9 CD database from Library of Congress; 2 CD database from Nation Library of Canada; and another from something called CIP?.
Anyway, my task is to search all the databases, and save the results.
The program is a library cataloguing software called "BiblioFile ITS for Windows Workstation". It comes with a 9 CD database from Library of Congress; 2 CD database from Nation Library of Canada; and another from something called CIP?.
Anyway, my task is to search all the databases, and save the results.