# How do you clear current outputto/say buffer?

**URL:** https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944
**Category:** Web Sources Discussion
**Created:** [December 24, 2007, 6:52pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944 "2007-12-24T18:52:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![SimianJones](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@SimianJones](https://community.mp3tag.de/u/SimianJones)
#### Post date: [December 24, 2007, 6:52pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/1 "2007-12-24T18:52:14Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 25, 2007, 3:02pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/2 "2007-12-25T15:02:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![SimianJones](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@SimianJones](https://community.mp3tag.de/u/SimianJones)
#### Post date: [December 26, 2007, 5:21pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/3 "2007-12-26T17:21:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2007, 12:19pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/4 "2007-12-28T12:19:09Z")

</div>

The next build will address this issue.

---

<div class="post-metadata">

### Author: ![SimianJones](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@SimianJones](https://community.mp3tag.de/u/SimianJones)
#### Post date: [December 28, 2007, 4:23pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/5 "2007-12-28T16:23:09Z")

</div>

It's great to hear this, thanks!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 29, 2007, 6:59pm UTC](https://community.mp3tag.de/t/how-do-you-clear-current-outputto-say-buffer/5944/6 "2007-12-29T18:59:04Z")

</div>

The current [Development Build](http://developer.mp3tag.de) now has a new command

set "output name" "value"
