I had a iMacro for this before...