# Photoshop scripts

**URL:** <https://forum.kirupa.com/t/photoshop-scripts/186910>\
**Category:** Uncategorized\
**Created:** [April 25, 2006, 11:08am UTC](https://forum.kirupa.com/t/photoshop-scripts/186910 "2006-04-25T11:08:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johndoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@johndoe](https://forum.kirupa.com/u/johndoe)\
**Post date:** [April 25, 2006, 11:08am UTC](https://forum.kirupa.com/t/photoshop-scripts/186910/1 "2006-04-25T11:08:05Z")

</div>

So I have two files - random pic (will always have diferent filename) and template (always the same filename). I’m taking a part of random photo and inserting it as a layer in template. The thing I want to automate is saving part. Is it possible to write a script for Photoshop that will save the template (after I’ve done my things) with the same filename as the random pic and save it in the folder that I’ve set?

---

<div class="post-metadata">

**Author:** ![unclesond](https://avatars.discourse-cdn.com/v4/letter/u/df788c/32.png) [@unclesond](https://forum.kirupa.com/u/unclesond)\
**Post date:** [April 25, 2006, 12:51pm UTC](https://forum.kirupa.com/t/photoshop-scripts/186910/2 "2006-04-25T12:51:16Z")

</div>

Wrong thread really.

Do you know about he recording actions options in PS?

---

<div class="post-metadata">

**Author:** ![johndoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@johndoe](https://forum.kirupa.com/u/johndoe)\
**Post date:** [April 25, 2006, 1:23pm UTC](https://forum.kirupa.com/t/photoshop-scripts/186910/3 "2006-04-25T13:23:54Z")

</div>

> [@unclesond](#):
>
> Wrong thread really.
> 
> Do you know about he recording actions options in PS?

Ofcourse I know. Just read my question again. The name of first file is alaways diferent and the final filename shoud have the same name as the first file does.
