PDA

View Full Version : RegEx information into a macro?


DuncanL
10-18-2007, 10:47 AM
Is there a way to find some data in a text file and copy that information into a macro? (ideally via RegEx, like the Replace In File action, but without the replace!)

I'm probably missing something obvious!

kinook
10-18-2007, 12:15 PM
See attached sample.

DuncanL
10-19-2007, 03:33 AM
Excellent - should have realised VBScript was the answer.

Many thanks!

kinook
08-13-2009, 08:28 PM
In VBP v7.2, this can be done with the Read File action (see attached sample).

http://www.kinook.com/Forum/showthread.php?threadid=4078

http://www.kinook.com/VisBuildPro/Manual/readfileaction.htm