MACSCRPT Archives

July 2015

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
SUBSCRIBE MACSCRPT Inyo55 <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Tue, 28 Jul 2015 11:41:19 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Hey guys,
Long time, no read! 

Here is my grep search string:

set mybarcode to do shell script "grep -i -o '[*][0][0][0][0][0-9][0-9][0-9][0-9][0-9][*]' " & quoted form of POSIX path of myfile --search including asterisks


It looks at a PDF file converted to text and returns a list of barcode numbers......that part is easy.
How do I make that list delimited so that Item 1 of my barcode is the first entry in my list instead of just being the first character of the first entry in the result?

For example:   My result list is a list of these type of items......*0000676767*
I want to select each item, but when I type "Display Item 1 of my barcode", I just get.....*

Thanks!
Bob Rutledge

ATOM RSS1 RSS2