• I'd use a script; if you're licenced to use custom scripts, just write a quick PS to do it, if you're not licenced use command line app to call a PS instead.

    I can't think how you could do this with a standard script or macro function