Jump to content
Macro Express Forums

mrpaperplate

Members
  • Posts

    3
  • Joined

  • Last visited

mrpaperplate's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I forgot that I posted this question. I ended up doing some trial and error and going over a few other macros and the attached is what I came up with. Anyone who wants to use this will have to change the window title activation, or remove it altogether. Basically the way the script works is by prompting the user for the text s/he wishes to find in the drop-down list. It then saves the drop-down control to C3. Then during the process it compares the text from the prompt to the current text. If there is no match it arrows down and tries again. There is also an option to start from the beginning of the list (by hitting the home key) or just keep searching from the location. At my work we use a POS Front End called Future POS (Point of Sale.) Some of the menus we create contain 1000's of buttons and so searching through a single drop-down can become monotonous. The way I have the search setup now is based on the list item only "containing" part of the text and not an exact match. Have fun with this and let me know if you can think of a faster way of doing this. It's pretty fast as it is, but I'm sure there is always a better/faster way. Enjoy! FindTextInADropDownList.mex
  2. I didn't know where to put this so I thought I would just post it here. Basically I wrote this script to search for certain text strings in a drop down list. I use it on the software where I work because some of the drop down lists we work with contain many entries, (1000+) and the software provides no way to search for the items other than scrolling by hand. With the way I have this set up now the script will run through 1000 entries in about 17 seconds. I couldn't figure out a way to make it stop arrowing down at the end of the list since the last item on the list is never known. If anyone has any ideas, I'm open to suggestion. To use this in your own environment, you'll have to re-"get controls" and change the title of the window to be activated. Enjoy. FindTextInDropDown.mex
  3. ©ouldn't you use something like get pixel color from the center of your check box?
×
×
  • Create New...