Re: [NTLK] Programming help

From: Daniel Padilla Roldán <dproldan_at_telefonica.net>
Date: Thu Aug 21 2008 - 08:25:46 EDT

Marisa Giancarla escribió:
> I am working on my ebook reader for the Newton, but I am stuck on how to
> read the data in a package file within the reader. The books are getting
> set up as program packages and I can loop over them in the extras list
> and find out most of the information in the package frame, but I need to
> also read the embedded ebook data.
>
> Does anyone have any pointers or c.s.n.p (comp.sys.newton.programmer)
> excerpts to show how to do this? It looks like there should be a slot
> called "parts" in the package info frame but I don't see it in my
> packages. Perhaps I am not looking in the right place. I will post a
> similar message in c.s.n.p but I don't know how many people still check
> there for new messages and this list seems to be lively enough that
> perhaps some of the people who used to go to c.s.n.p are NTLK readers...
>
> Hoping someone can help...
>
> Marisa
>
>

       I don't know if this is what you need.

    Once the book is installed, you can access its data with:

    
GetRoot().Copperfield.library.|NAMEOFTHEBOOK:PUBLISHER|.book.contents[XX].data

     This is for standard newton books, it may be different for
paperBack books, etc.

    
Daniel
   

====================================================================
The NewtonTalk Mailing List - http://www.newtontalk.net/
The Official Newton FAQ - http://www.splorp.com/newton/faq/
The Newton Glossary - http://www.splorp.com/newton/glossary/
WikiWikiNewt - http://tools.unna.org/wikiwikinewt/
====================================================================
Received on Thu Aug 21 08:25:49 2008

This archive was generated by hypermail 2.1.8 : Thu Aug 21 2008 - 17:30:00 EDT