IMO Actions are easy Scripts are hard. I have created a dozen Photoshop Scripts to be used by Actions to enhance Actions giving them a little logic. Created four short tip files and provide a sample action along with the dozed scripts.
My hope is some will download this package and find it useful.
Action Actions Palette Tips.txt
Action Creation Guidelines.txt
Action Dealing with Image Size.txt
Action Enhanced via Scripted Photoshop Functions.txt
CraftedActuons.atn
http://www.mouseprints.net/old/dpr/JJMa ... ctions.zip ... ctions.zip