Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

save a file with serial numbers following the last file name in the folder

New Here ,
Jan 26, 2020 Jan 26, 2020

Hi, 

I regularly scan images through a scanner to photoshop and I use them for different purposes

I want to create an action to automate the contrast adjustments and then to save the file to a folder 

My need is to save all the files in a particular folder and I have to make it everyday now and then 

The problem here is when i make it through actions it overwrites the old files 

|I want to make any one of three things 

 

1. When i'm importing a document from a scanner the file name should be generated with the current date and time like how cameras generate filename

Example :   "2020-01-27-10-09-20.extension" or "20200127100920.extension" like year-month-date-hours-minutes-seconds

 

2. When saving an untitled document it should save the file with file name as same format as above

 

3. when saving file the name should be a 4 digit serial number and the number should be the one which is next to the file name of last file in the folder

 

Example : 

If a folder contains a list of files with 4 digit serial number names

2401.jpg

2402.jpg

2403.jpg

2404.jpg

2405.jpg

2406.jpg

2407.jpg

2408.jpg

2409.jpg

2410.jpg

2411.jpg

2412.jpg

 

 

The next saved file should be saved with name "2413.jpg"

 

Please Suggest a way to automate this

And i have no clue about scripting

 

Thank You in advance.    🙂

TOPICS
Actions and scripting
3.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jan 26, 2020 Jan 26, 2020

Hi Daniel,

have you got Adobe Bridge? Batch renaming is a breeze using it, including adding the date created/modified and how you want the structure. So you can create an action for your adjustments and then batch rename using Bridge.

 

/G

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 27, 2020 Jan 27, 2020

Hi Grant H.

 

I just asked a similar question elsewhere.

Can you please write up a list (in simple language and steps) to show everyone how to take

50 images or more and set them up for batch numbering such as YukonTrip1.jpg, YukonTrip2.jpg, YukonTSrip3.jpg, etc....

 

Thanks,

S.B.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2020 Jan 28, 2020

Hi Stacey, as mentioned i would use a file management program for this like Bridge in my case. and the steps are really straight forward

Select the files you want renamed, then select tools, batch rename... this will pop up:

 

Screen Shot 2020-01-28 at 12.15.34.jpg

Select the criteria you wish..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 29, 2020 Jan 29, 2020

Thank You Grant

Batch renaming, we can do the same thing in Photoshop using batch automation 

My challenge here is not the part just renaming the file, but the file saving process  which got automated should not overwrite the other files in the folder. 

 In Batch automation the automation saves the file starting from serial number 1 every time when we save. 

Already there will be files in the folder which got saved using same action which also starts with serial number 1.

That’s the exact problem here. It should not be like that rather it should be the serial number next to the last number in the folder.

  Or when the file name becomes the date and time like 30012020095620.jpg,  there will be nil chance to overwrite the old file since date and time cannot be same even for a second.

 

Hope now my challenge is more clearly explained.

Thank You in advance for Your kind help Grant and community  🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 30, 2020 Jan 30, 2020

Hi again, all this can be done in Bridge, and then some. Bridge is AWESOME! more powerful and helpful in many ways than one would expect at first glance!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 31, 2020 Jan 31, 2020
LATEST

Hi Grant, 

I never used adobe bridge so far  

Ill Give it a try,

Do we have options to scan documents directly in adobe bridge from a document sanner or a 3 in one printer. If so, please let me know how to make it.

becaus if there is no option to import from a scanner it will become double the work

Thankyou so much for your continuous help 🙂 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 27, 2020 Jan 27, 2020

This is beyond an action, so something like Image Processor Pro and or Bridge would be the best approach without custom scripting (a script would likely need to read/write to a log file to keep track of the numbering, or perhaps work out the numbering from existing saved files).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2020 Jan 28, 2020

My answer is similar to Grant's, however, I have highlighted key areas of the interface:

 

rename.png

 

EDIT: Sadly the poorly written forum software has resized the screenshot into illegibility.

 

rename.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines