This might help, it is for CS2 but I think it could work on CS:
Digital Watermark Branding
Posted: 12/28/05
Discover the fine art of creating an Action that will magically work on both horizontal and vertical images.
http://www.russellbrown.com/tips_tech.html
About half way down the page, it has a sample action and a movie.