OS 10.5 - leopard & automator question

I am trying to change the names in a folder of pictures in iPhoto,using Automator.I have done this before in Tiger but it is not working using Leopard. is there something different that needs to be done? I keep getting "no results" in Automator workflow window Does anyone have the right procedure to be taking in order to get this done?