PDA

View Full Version : Parsing value from LASTSTEP_OUTPUT


edsachs
03-13-2009, 01:47 PM
I'm not very adept at Visual Basic, so I'm wondering if someone can point me to a sample script.

I'm running a command, and I'd like to parse out of the command's output (%LASTSTEP_OUTPUT%) a string of the form "PRODnnnnnnnn", where the "n"s represent digits, and then assign this string to a macro. Anybody have a sample that does something like this?

kinook
03-13-2009, 10:34 PM
See attached sample.

edsachs
03-23-2009, 01:07 PM
Thank you.

kinook
10-14-2009, 06:10 PM
The Read File action in v7 can be used for this. See attached sample.