Search found 5 matches

by billenright123
Thu Apr 04, 2013 10:57 pm
Forum: Talking LiveCode
Topic: LineIndex
Replies: 7
Views: 6571

Re: LineIndex

All - Thanks!
Great stuff

Bill
by billenright123
Thu Apr 04, 2013 1:53 pm
Forum: Talking LiveCode
Topic: Pasting Text from PDF into LiveCode Fields
Replies: 10
Views: 9430

Pasting Text from PDF into LiveCode Fields

I have several PDFs (mostly text) that I need to paste into fields for formatted.
However, the fields will not accept the info via Paste command (this works perfectly well in Revolution 4.0).

I can get it to accept if i do the following:
1 Paste text into MS Word.
2 Copy text from MS Word.

Any ...
by billenright123
Thu Apr 04, 2013 12:37 pm
Forum: Talking LiveCode
Topic: LineIndex
Replies: 7
Views: 6571

Re: LineIndex

I will give that a try.

Any thoughts on salvaging my old XCMD?
by billenright123
Thu Apr 04, 2013 11:53 am
Forum: Talking LiveCode
Topic: LineIndex
Replies: 7
Views: 6571

Re: LineIndex

Thanks for the post.

LineOffset only returns a single instance of the found string.
It does not provide information about any additional occurrences of the text in the chunk.
by billenright123
Thu Apr 04, 2013 11:23 am
Forum: Talking LiveCode
Topic: LineIndex
Replies: 7
Views: 6571

LineIndex

I have numerous stacks dating back to Hypercard era that I have tweaked over the years and work fine in Revolution.

One of the mainstays is an old XCMD called LineIndex.
- Example "put LineIndex("Location:", it) into locx"
This would give me a list of all the line numbers within the chunk "It ...