It should work, but getting all the UI stuff is pesky.
See this macro, and the associated thread:
-Chris
For more information, see the wiki Searching the Forum for Answers section.