hexagon logo

How do search for a certain probe across multiple programs with VBS

Ok,

I'd like to put forth this question,

I have 1400+ programs for my CMM and I'd like to search them and see which ones have a particular probe.
Is there anyway to do this with automation? I have done some searching here and found a few threads.

http://www.pcdmisforum.com/showthread.php?25931-probes-used-in-program&highlight=searching+programs

http://www.pcdmisforum.com/showthread.php?20996-Retrieving-Tip-File-from-external-program&highlight=searching+programs This one actually asks the same question, and the answer says it's theoretically possible.

This just beyond my ability to program at this point. I was hoping someone had done the work already
Parents
  • 1) Code a script that opens each of your 1400+ programs, parses each program for a LOADPROBE command, writes this to a textfile, closes the opened program and moves on to the next.

    2) If you know what probefile to search for, you can use the Windows search function to find all programs that have the particular probefile in the program.
    Let's say I want to find all programs that uses the probefile named "VPTPROBE1". If you type that in the search box you'd find nothing, but if you separate each character with a space, it will find it for you. Like this "V P T P R O B E 1".

    I forgot to mention that you type this in the "Contains the text" search box in Windows.

    Good luck!
Reply
  • 1) Code a script that opens each of your 1400+ programs, parses each program for a LOADPROBE command, writes this to a textfile, closes the opened program and moves on to the next.

    2) If you know what probefile to search for, you can use the Windows search function to find all programs that have the particular probefile in the program.
    Let's say I want to find all programs that uses the probefile named "VPTPROBE1". If you type that in the search box you'd find nothing, but if you separate each character with a space, it will find it for you. Like this "V P T P R O B E 1".

    I forgot to mention that you type this in the "Contains the text" search box in Windows.

    Good luck!
Children
No Data