Check out iPod ebook creator:
http://www.ambience.sk/ipod-ebook-creator/ipod-book-notes-text-
conversion.php
--
Greg Raven
Apple Valley, CA
Illegal immigration is a weapon of mass destruction.
On Sep 22, 2007, at 10:42 AM, Marconi wrote:
I have an alphabetical list (21K and growing) with 1200 lines in
it. I thought I'd carry it on my iPod in the Notes directory so I
could consult it while away from home (instead of buying a PDA to
carry the info).
I put the file into the Notes directory on iPod but found, when I
went to read it, that it was truncated in the middle of a line
somewhere in the Cs. It would appear that iPod notes are limited to
maybe 4096 characters max.
I'd like to have a script which would break the front BBEdit
document up into smaller than 4096 bytes each files: mylist1.txt,
mylist2.txt ... mylist[n].txt.
When run, the script would count 4096 characters into the file,
then back up far enough to encounter a line break, then forward one
character to include the line break as the last character of the
selection. That way, no entry would be broken over two lines.
Write the file as [filename]1.
From that point, repeat the process, counting 4096 characters from
the last point written to a file and go back to the last line
break. Lather, rinse, repeat until the text file has been broken
into a series of files small enough to be read by iPod's Notes
function.
It would be nicer still if the parts were named mylist_A-B.txt,
mylist_C-... with some hint in the file name as to which entries,
alphabetically, were contained therein. Since it's an alphabetical
listing, the first character on each line tells us where we are.
Can anyone offer advice on how to do this?
Anyone already done something similar?
AppleScript or Perl or...? What's the best tool for something like
this?
--
----------------------------------------------------------------------
--
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>