Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-18-2007, 10:47 AM
DuncanL DuncanL is offline
Registered User
 
Join Date: 07-26-2007
Posts: 29
RegEx information into a macro?

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!
Reply With Quote
  #2  
Old 10-18-2007, 12:15 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample.
Attached Files
File Type: bld findtext.bld (4.2 KB, 2387 views)
Reply With Quote
  #3  
Old 10-19-2007, 03:33 AM
DuncanL DuncanL is offline
Registered User
 
Join Date: 07-26-2007
Posts: 29
Excellent - should have realised VBScript was the answer.

Many thanks!
Reply With Quote
  #4  
Old 08-13-2009, 08:28 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
In VBP v7.2, this can be done with the Read File action (see attached sample).

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

http://www.kinook.com/VisBuildPro/Ma...fileaction.htm
Attached Files
File Type: bld findtext_2.bld (4.1 KB, 1997 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:01 PM.


Copyright © 1999-2023 Kinook Software, Inc.