You'd have to write code to do this; it's not built in at the moment.