Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Save As in Parent Directory

$
0
0

I am trying to create an process and action that does the following:

 

  1. Process outside of PS that stages files for edit
  2. PS Action to set selection(s) (each selection is on its own channel) on the original tif
  3. PS Action to open Background template file (.bmp file)
  4. PS Action to paste selection(s) in place (from channels) into .bmp file
  5. PS Action to flatten document
  6. PS Action to Save As a .bmp using the current file name one directory up
  7. Process outside of PS that cleans up and moves files

 

I am good on steps 1 through 5 and 7, but cannot figure out step 6 in a Win7 environment.  Basically, I edit images in a staging folder before moving them to the parent.  Then the parent folder is cleaned up and pulled into a permanent storage location.  So the workspace looks like this:

 

 

Starting file structure (three .bmp files and two subfolders in ...\parent)

 

...\parent\File1.bmp  {old}

...\parent\File2.bmp

...\parent\File3.bmp

...\parent\Delete\

...\parent\Working\

 

Next step:  New File1.tif is sourced and placed in Working Folder, Current File1 is moved to Delete Folder

 

...\parent\File2.bmp

...\parent\File3.bmp

...\parent\Delete\File1.bmp  {old}

...\parent\Working\File1.tif

 

Next step:  Edit File1.tif in Working Folder and run final action - Save As .bmp in one folder up (...\parent\)

 

...\parent\File1.bmp  {new}

...\parent\File2.bmp

...\parent\File3.bmp

...\parent\Delete\File1.bmp  {old}

...\parent\Working\File1.tif

 

Last step, Cleanup:  Remove the Delete/Working subfolders, move files to new location

 

...\parent\File1.bmp  {new}

...\parent\File2.bmp

...\parent\File3.bmp

 

 

 

How can I do the Save As step??


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>