This can be achieved with a script. It might not be a perfect solution, but it's better than nothing.