Forum Moderators: not2easy

Message Too Old, No Replies

Photoshop overwrite file without prompt?

Trying to record an action to overwrite a file without prompting

         

whitenoise

8:21 pm on Sep 22, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi,

I am trying to create an action in Photoshop that will do a series of steps on an image then do a save for web on that image that overwrites it. Sounds simple, but the problem is there a multiple folders that need to be done, and in order for this to work I would have to create a seperate action for each folder. Is there not a way to basically say overwrite or save relative?

Any help would be appreciated =)

Thanks

limbo

9:14 am on Sep 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put all the files you need ot edit in the same folder?

whitenoise

11:04 am on Sep 23, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Sadly I can't do this. The source files are contained within multiple folders. It probably isn't possible what I want to do, I might have to look at a different way.

limbo

11:27 am on Sep 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can apply a batch to subfolders too. Would that help?

whitenoise

11:39 am on Sep 23, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I have sub folders turned on.

The action is run and does its ammends to the image. But then I want to save (overwrite) that image with the changes I have just made. So when the action hits save for web - the prompt comes up asking me for the save location. Since I want the script to run through multiple folders, I will have to select a save location, choose yes to overwrite for every single image. Is there not any way to supress this overwrite prompt and get photoshop just to save over the original without asking me? Then the action would just run uninterupted without my input.

limbo

12:01 pm on Sep 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think by default 'save for web' produces another file - so I am not sure you can do what you want unless you found a way of generating the changes without using the save for web command - maybe try using image ready...

+ there are 'suppress dialogue box' commands in the batch tool - have you tried ticking these?

whitenoise

12:19 pm on Sep 23, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I am using photoshop v7 and the only supress option I can see is supress color profile warnings. Do you have a later version?

The files I am using are .jpg's so save for web is the only option I can use as if I just say save - it again prompts for a location plus it wants to save it as a .psd.

Leosghost

12:30 pm on Sep 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



About the only way to do this that I can think of would be to "diss" photoshop to look for the point at which the process is making the call to build the gui to show the dialog box and at that point interupt the code run with another "injected" line or lines ..these could be made to "redistribute" the results ..

you might look around for softice ( the best known ) and related softwares / subject matter etc to help you in your endeavours ..

BTW ..the EULA that ships with almost any software makes all the forgoing prohibited ..

There may also be a plug in somewhere that does something similar? ( always wondered about that one ..to dev a decent plug in ..one is actually forced to "diss" the target app anyway ...somewhat like if the burglar phones you up and says " hey whilst I was breaking into your place the otherday ..I noticed your kitchen needed painting ..I have a paint brush and paint ..maybe we can do a deal " ;)..

you could email adobe and ask them if they know how to do it ...

whitenoise

6:47 pm on Sep 23, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Thanks for all the advice people. I shall look into this, or just bite the bullet and do it manually! =(