How do you clear current outputto/say buffer?


#1

Is there a way to clear whatever you currently have in the say buffer? I'm looping through a series of XML tags and I only want the value from the last one. Here is what I have so far:

Cover URL

do
outputto "coverurl"
findinline ""
findinline ""
sayuntil ""
findinline ""
while ""

Only problem with this is that it keeps appending to coverurl when I'd rather it overwrite instead. I tried killtag "coverurl" inside the url but DO NOT try that, it locks mp3tag completely and you have to kill it from the Task Manager.

I'm sure I'm missing something obvoiusly, any help?


#2

No, there currently is no way of resetting an output buffer.


#3

Bummer. In that case anyone have any good ideas on how to get just the last element in an unknown number of xml elements? I have this structure:

http://www.monkey.com/image/a.jpg http://www.monkey.com/image/f.jpg http://www.monkey.com/image/g.jpg http://www.monkey.com/image/b.jpg

I only want the last


#4

The next build will address this issue.


#5

It's great to hear this, thanks!


#6

The current Development Build now has a new command

set "output name" "value"