Isn't this scripting? I was initially asking for a script-less way to do it.

If scripting is involved I know how to do it.