Depends what you want to do with the small parts after you
divide them up. Would you just insert a page break after each
chunk or would you save each chunk to a separate file?
You can start by cleaning the original text - remove any
double spacing, extraneous punctuation, etc.
If you don't need any paragraph breaks you can do
Text>Remove Line Breaks. Then, Hardwrap.. Break lines at 160
charachters. That will give you a file where each line is max
160 characters. Meaning, some lines may be shorter than 160 but,
it will not cut words in half.
Then if you just need page breaks after each chunk, you can
search/replace each line end with a pagebreak marker.
Or, if you need separate files you could create a Script
to, Select Line 1, Cut, Open a new file, Paste, Save and Close
new file... repeat...
You may need to iterate a sequence number in the name of
file you save to.. Sorry, I haven't done a lot of loop scripts,
maybe someone else has tips on looping save actions.
- Den.
12/4/14 2:47 PM, [email protected] (Bruno Martinelli)
apparently typed:
Hi,
A have several pages of text (80.000 words) that i have to
transform and divide into 160 characters max per page.
Any of you can help me do this in BBedit?
Tks,
Bruno
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].