hiya everybody,
i'm want to save a bunch of files in PNG-24 safe for web for a little game we are making. I open one of the files of the batch i want to work on, set up my action by pressing the record button> save> safe for web>png-24>stop button.
but as soon as i ask photoshop to start the batch, it saves them in the folder i asked it to, but the only file that actually saved in safe for web, is the one I initial worked on to set up my action... I can tell because the file size is cut by half...
so what am I supposed to do? Am i missing a step? I looked on the net but everybody that made batches in safe for web don't seem to have the same problem as me.
you guys would really save my bottom by helping me! I really don't want to resort to saving them one by one... that would suck!
PS: I am using Photoshop CS4 by the way, if that helps in anyway.
Thanks to all of you in advance!!
![:D :D](https://polycount.com/plugins/emojiextender/emoji/twitter/grin.png)
Replies
CW: that would be very nice of you! i have no clue of as how the Photoshop scripts work, so if you could point me in the right direction, you would be saving my butt!
thanks so much guys for your responses! I hope ill find a solution soon, or else I'm gonna have to save them all one by one... and that would really be shitty... :C
Thanks to all of you guys for helping me!!
If you wanted I can take a look at this for you. You would run the action, the action would run the script, the script would prompt you for a folder, then the script would go ahead and save the folder contents as png in some other place, either a subfoder or something of your preference.
Glad you have it working now though.
If you happen to have a really nice tutorial, or if you feel like running me trough the basics, i would be really eager to learn! anything that can help me up my productivity is what i need!
Thank you so much for everything!! I'm really looking forward to learning!
Anyway, after 30 mins of cut and pasting old scripts + internet/doc examples:
if the output format is wrong, let me know, and it can be tweaked (or tweak it yourself if you like!)
Feel free to experiment with this for other things, I found the best way to get into the scriptnig wa to just do some things.
Heheh i am completely new to script so I'm missing a lot of the basic stuff, it seams pretty logical thaught and I think ill get the hang of it quickly, i just neet to start at the beginning.
I'm looking into it right now, on how to get your script into Photoshop, but if you happen to have time to explain it to me, i would greatly appreciate it!
Thank you so much for all the help you have given to me already! You are really a life saver!
1) copy that text to a notepad file.
2) save the file somewhere with a name "myscript.jsx" it is javascript so needs jsx extension.
3) in shop, make an action, record-
4) file menu > scripts > browse >
5) pick the file you saved, it will run the script, so pick the folder and wait for it to do its thing.
6) stop the action, save it if you like for later.
hope that helps, seems fiddly but it's not realy too hard once you get the hang of it. Usually kind TAs will sort it all and you just get a new action in pshop to run.
I figured I needed to use the note pad and actually put the extension, but Photoshop doesn't seem to process it as a Java script file... so i cant see it when its time to select it.
Do i have to do something special, other then naming it and putting .jsx at the end?
Thank you so much!!! And I'm so sorry for being such a script noob! I have been postponing to learn it, and now its biting me in the arss pretty hard! but I get the feeling I'm getting close to figuring it out! Thank you so much!
I should be able to proceed now, ill try stuff out. when i copy your code, do i past all the slashes into the .JSX?
I will try with and without, but im just curious if its the kind of thing that's important or if you can actually add artsy stuff that wont be processed as information in the script.