Save As with addition

Moderator: Kathy_9

Post Reply
leahcimi
Posts: 106
Joined: Fri May 25, 2012 5:29 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Technology Co. Ltd. H61M-D2H-USB3
processor: 3.40 gigahertz Intel Core i7-2600K
ram: 16GB
Video Card: Intel HD Graphics 3000
sound_card: High Definition Audio Device
Hard_Drive_Capacity: 250GB 500G
Monitor/Display Make & Model: Acer S240HL
Location: SE Cornwall

Save As with addition

Post by leahcimi »

I guess this should be simple but I can't get it to work.

I want a script that will take the currently loaded image and save it, to the folder that it came from, using its current name but with the word ' - edited' added

eg current loaded image file name is 'MyImage.jpg' which I want saved as 'MyImage - edited.jpg

Thanks in advance.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Save As with addition

Post by LeviFiction »

See this previous thread - viewtopic.php?f=104&t=63232

In Terrypin's case he wanted to change the extension as well as add "-PS" to the end of the file name. But most of the procedure is the same for simply adding a postfix to the name of the file.

Technically the easiest option is to simply add "--edited.jpg" to the end of the filename but then you'd get something like this "originalName.jpg--edited.jpg" which I'm guessing is not what you want.

In that topic Terrypin points to yet another topic where I demonstrate how to add a pre-fix to the filename. Which, if you're not opposed to a prefix, is yet another option. I don't, however, have a pre-made script for this. Just the explanation for the process you'll want to follow.
https://levifiction.wordpress.com/
leahcimi
Posts: 106
Joined: Fri May 25, 2012 5:29 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Technology Co. Ltd. H61M-D2H-USB3
processor: 3.40 gigahertz Intel Core i7-2600K
ram: 16GB
Video Card: Intel HD Graphics 3000
sound_card: High Definition Audio Device
Hard_Drive_Capacity: 250GB 500G
Monitor/Display Make & Model: Acer S240HL
Location: SE Cornwall

Re: Save As with addition

Post by leahcimi »

Thanks for pointing me in the right direction, I will give it a try.
Post Reply