parcours la rubrique "tutos". Il y a plusieurs posts très bien fait pour t'expliquer la fonction "script" sur photoshop.

sinon, tu as le logiciel Bordermaker (freeware je crois)