Afficher un message
Vieux 18/09/2007, 02h43   #6
matt neuburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: errors, trying to edit and write some text files

Nathan Thickett-menghini <somerandom_bloke@hotmail.com> wrote:

> That's brilliant thanks! So it seems to me that the Tracks Developers
> have changed the format of the feeds since the script was written,
> omitting the word 'Due:'. How can I get it to include all lines that
> begin with white space?


It's hard to say, because I don't know the format of the feeds. You
could change the script you have, just deleting the six character phrase
"\[Due:" wherever you see it. But that is just a guess, not knowing what
the feeds look like. It would be better if you'd show us a multi-line
feed output so we can see what the desirable and undesirable lines look
like. In the example you gave, *all* lines were desirable, which made
some of the program wasteful. But perhaps in a fuller example, there are
some undesirable lines. The change I'm suggesting might not eliminate
them; it depends what they look like.

m.

--
matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/
Tiger - http://www.takecontrolbooks.com/tiger-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com
  Réponse avec citation
 
Page generated in 0,05577 seconds with 9 queries