So this script is executable via QBW? I sure hope this works, seems complicated though! I hope I don't ask too much of you, but since i am no expert of QBW could you please import the script to a QBW-instance and upload it to post #1? (export buffer to file) That would be just great