Save all open images
I didn't find this when I did a forum search, but I find it hard to believe that there isn't a feature request for this already. Photoshop needs a "Save All" feature. I've seen suggestion to just make this an action, but the problem with that is that you must continually hit the action in order to perform it. Maybe I'm just missing something but I find it odd that a photo editing program, in which it is quite possible that you could have dozens of images open at the same time has no "Save All" or "Autosave" features...still.
If you want to give it a try paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities - CS5/ExtendScript Toolkit CS5) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action, (in CS4 and CS5) be used in a Configurator-Panel or started from ExtendScript Toolkit directly.
// save all open documents;
// 2011, use it at your own risk;
#target photoshop;
if (app.documents.length > 0) {
var theFirst = app.activeDocument;
var theDocs = app.documents;
// psd options for unsaved files;
psdOpts = new PhotoshopSaveOptions();
psdOpts.embedColorProfile = true;
psdOpts.alphaChannels = false;
psdOpts.layers = true;
psdOpts.spotColors = true;
// go through all files;
for (var m = 0; m < theDocs.length; m++) {
var theDoc = theDocs[m];
app.activeDocument = theDoc;
// getting the name and location;
var docName = theDoc.name;
// thanks to xbytor for the regexp;
if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
else {var basename = docName};
// getting the location, if unsaved save to desktop;
try {
var docPath = theDoc.path;
// save the file if unsaved;
if (theDoc.saved == false) {theDoc.save()}
// if file has not been saved yet save to desktop;
catch (e) {
var docPath = "~/Desktop";
theDoc.saveAs((new File(docPath+'/'+basename+".psd")), psdOpts, false, Extension.LOWERCASE);
app.activeDocument = theFirst;
Similar Messages
-
I just got a new mac and use my external hard drive to save all my images to but whenever I go to save my photo to my hard drive it says I do not have write access....Whats wrong how do i fix this or do i need a new hard drive??@
This is a Mac question not a Photoshop question, and I am a Windows users, but I can Google and this might be what you need to do:
http://www.makeuseof.com/answers/change-read-permision-external-hard-drive-mac/ -
Is there anyway to have a PSE type filmstrip view of all open images in PhotoshopCS4?
PSE 7 has a scrolling filmstrip view of all open images at the bottom of the workspace, making it very easy to see and select all open images. Is there anyway to have this feature in Photoshop CS 4?
Not really, but you can experiment with the drop-down menu in the top bar.
-
Save all Open Files in CS4?
Hi all,
Looking for a script that will save all open files as a a JPG to a specific directory. I tried using this in CS4 but it doesnt work. It just opens the save dialog and thats it. Want something a bit more automated:
var tempFolder = new Folder ("C:/Your_Temporary_Folder")
tempFolder.create();
var DL = documents.length;
for(a=1;a<=DL;a++){
activeDocument = documents[a-1];
var AD=activeDocument;
var imgName= AD.name;
imgName = imgName.substr(0, imgName.length -4);
AD.flatten();
saveFile = new File("C:/Your_Temporary_Folder/"+imgName+".jpg");
saveOptions = new JPEGSaveOptions();
saveOptions.embedColorProfile = true;
saveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
saveOptions.matte = MatteType.NONE;
saveOptions.quality = 12;
AD.saveAs(saveFile, saveOptions, true,Extension.LOWERCASE);
Thanks.Hi guys,
That fixed it. The other problem was that the name length was too short:
imgName = imgName.substr(0, imgName.length -0);
So I corrected that as well. Thanks for your help.
Is it possible to add a "close without prompting to save" in the script? So it basically saves the file then closes the window in PS without prompting me to save it again? -
How to save all open document in png 24 by javacsript
how to save all open document in png 24 by javacsript
yeah, i can definitely see how it would be useful for some
people! and
hey, for all i know, i'm the one who's not an average user. i
was
pretty much just saying that i can see how that's something
Firefox
would think to do, but not necessarily a program like
Dreamweaver. but i
agree that it would be a useful feature in lots of programs.
and i think
that what Murray suggested is probably pretty close to what
you're
looking for, if not exactly.
d_macman wrote:
> To respond to both...
>
> courtney (n h c)... I must not be the average user then.
We have many sites,
> and I do a LOT of development, and many times, I may
have several pages with
> several includes on a page. IE, for a form page, I may
have 10-12 pages total
> (including headers, footers, java, PHP process pages,
etc) and to work out the
> processes and for development, I may create several
versions depending on the
> problems I run into.So to not go nuts, I would LOVE to
save the batch of pages
> out, and then be able to re-open them all at once.
Making it easy to jump in an
> out of a test section (I have them saved in a site, and
dont want to make
> second sites just for this purpose).
>
> Not to mention, leaving work and coming back in and
finding out the power went
> out over the weekend and my machine shutdown (and yes, I
have a UPS, but it
> wont run the system for that long).
>
> So, you see why I would like to save them as batch, like
Firefox, way easier.
>
> Murray *ACE* ...
>
> I will try that, I did not even know that was there. Way
cool ! I hope it
> works, especially for power outages, like I mentioned
above!
>
> Thanks all,
>
> Don
>
> -
Is there a way or a script to save all open files in Adobe Illustrator?
ThanksThanks. How would one edit this, especially so that it doesn't close the files?
Do I just delete the 4th line from the bottom?
var WR="WR-SaveAndCloseAll v0.2\n\n";
if (language == "de") {
var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet.";
var MSG_ask = WR+"Sollen alle Dokumente gespeichert und geschlossen werden?";
} else {
var MSG_nodocs = WR+"You have no open document."
var MSG_ask = WR+"Are you sure to save and close all open documents?";
var itemstoprocess=0;
var error=0;
var Docs=documents.length;
if (Docs<1) {
error++;
alert(MSG_nodocs);
} else {
if(confirm(MSG_ask)) {
for(var i=0;i<Docs;i++) {
activeDocument.close(SaveOptions.SAVECHANGES); -
Older versions of Firefox allowed the user to save all open tabs to a folder in Bookmarks with one touch (not laboriously bookmarking each tab), so if Firefox did not remember your tabs when re-opening your browser after closing down for the night, you could at least re-open each tab if you'd been clever enough to save them to a Bookmarks folder. I still have my Bookmarked folders full of tabs from previous months, so I know I'm not imagining this useful Bookmark function.
I cannot find this function, Save All Tabs (I think that's what it was called,) under Bookmarks anymore.THANK YOU! So easy, now I feel stupid. ;)
Sorry, Firefox 4.0 is driving me nuts in many ways, this is just one of them. -
Applescript to save all open documents?
Hello,
When I close Numbers, I usually have about 15 documents with changes and I have to go through "Do you want to save changes" for all of them.
I've googled and tried, without success, to get a script that saves all open documents, except for untitled ones.
Is there anyone who know such a script?
FredHere is a revised version.
The problem was due to the fact that the script save and close the documents.
When I tested it, it was only saving them.
--[SCRIPT save&backup4iWork]
Enregistrer le script en tant que Script : save&zip4iWork.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
Aller au menu Scripts puis choisir “save&zip4iWork”
Tous les documents iWork ouverts, ayant déjà été enregistrés puis modifiés seront enregistrés et fermés.
Si la propriété avecSauvegarde a la valeur true, une copie horodatée de chaque fichier est créée.
Si le document principal est de type paquet, la copie est compressée (zip).
--=====
L’aide du Finder explique:
L’Utilitaire AppleScript permet d’activer le Menu des scripts :
Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case “Afficher le menu des scripts dans la barre de menus”.
Sous 10.6.x,
aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
--=====
Save the script as a Script: save&zip4iWork.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Go to the Scripts Menu then choose “save&zip4iWork”
Every open iWork document already saved then edited will be saved and closed.
--=====
The Finder’s Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the “Show Script Menu in menu bar” checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
if the property avecSauvegarde is set to true, a dateTime stamped copy of each document is also created.
It's zipped if the main document is a package.
Yvan KOENIG
based on my AutoSave script.
2011/06/09
--=====
property avecSauvegarde : false
true = keep a dateTime stamped copy
false = don't keep a dateTime stamped copy
property saveKeynote : false
property saveNumbers : true
property savePages : false
--=====
on run
if savePages then my auto4PKN("Pages")
if saveKeynote then my auto4PKN("Keynote")
if saveNumbers then my auto4PKN("Numbers")
end run
--=====
on auto4PKN(theApp)
local titres, theDocs, aDoc, aPath
tell application "System Events" to set titres to title of processes
if theApp is in titres then
tell application theApp
As we close the documents, we must store the list of docs in a variable
or scan the list from the end which would require an index !
set theDocs to every document
repeat with aDoc in theDocs
if modified of aDoc then
set aPath to path of aDoc
try
set aPath to aPath as text
on error
Here if the document was never saved before
set aPath to ""
end try
if aPath is not "" then
Save and close documents which were already saved once
close aDoc with saving
if avecSauvegarde then my zipIt(aPath)
end if -- aPath
end if -- modified
end repeat
end tell -- theApp
end if -- theApp is…
end auto4PKN
--=====
on zipIt(fichier) (* fichier is an HFS path*)
local Nom, ext, dossier, isPackage, nomAvecDateHeure, source, dest
set fichier to "" & fichier
tell application "System Events" to tell disk item fichier
set Nom to name
set ext to name extension
set dossier to path of container
set isPackage to package folder
end tell
set source to quoted form of POSIX path of fichier
set nomAvecDateHeure to (text 1 thru -(2 + (count of ext)) of Nom) & (do shell script "date +_%Y%m%d-%H%M%S.") & ext
if isPackage then
set dest to quoted form of POSIX path of (dossier & nomAvecDateHeure & ".zip")
do shell script "ditto -ck " & source & " " & dest
else
set dest to quoted form of POSIX path of (dossier & nomAvecDateHeure)
do shell script "cp " & source & " " & dest
end if
end zipIt
--=====
--[SCRIPT]
--{code}
I included your specific requirements.
Yvan KOENIG (VALLAURIS, France) jeudi 9 juin 2011 18:03:20
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How do I save all the images in the project bin at once
So I don't have to double-click on each one of them and click save.
The only way I have figured out how to do it is actually close photoshop to get it to ask me to save each image one at a time... Surely, there is a better way which I am missing??
By the way, it's whacked that when I double-click on File 24.psd to select it, then I click File, then I click Save it asks me what I want to name it, and when I leave it with the same name and click OK it tells me a file with that name exists and asks me if I want to click OK overwrite it?? So much clicking...
Of course I want to overwrite it... that's the file I have open... This program takes some getting used to from a newbie perspective...
Thank you!!Hi,
For saving all of the images, have you tried File -> Close All
That will close all the images which presumably be OK as you have finished with them.
There are some saving preferences Edit -> Preferences -> Saving
One of them can be set to ask or overwrite.
Hope that helps
Brian -
How do you view all open images without opening each tab?
I have been using CS2 for ages, and recently switched over to a recent version of Photoshop. I'm using a mac. In CS2 I was able to drag my mouse to a corner of the screen and view all open files. Can I still do this somehow? Or do I have to open each tab to see the image? I'm looking for a quick way to view thumbs of all my images. Please help!
If you dislike tabs turn off
Photoshop > Preferences > Interface > Open Documents as Tabs
Photoshop > Preferences > Interface > Enable Floating Document Window Docking
And maybe try
Window > Arrange > Tile -
How to save all open files IE like a shortcut or alias to them.
Hi everyone,
I know there must be a way to do this in Dreamweaver, but I
can't find it.
When I am working on a series of pages (for example, 3 or 4
pages with a bunch of include pages) and I want to save a shortcut
or alias that would re-open them all for me (like the "Bookmark All
Tabs" option in Firefox that will save all the open tabs so you can
open them all at once later).
This will save a TON of time, instead of me writing down
every single page name, and then, opening them all by hand later.
I know you can use the Site Navigation, to see the files, but
that runs sooooo slooooowwwww.
I appreciate the help in advance,
Regards,
Donyeah, i can definitely see how it would be useful for some
people! and
hey, for all i know, i'm the one who's not an average user. i
was
pretty much just saying that i can see how that's something
Firefox
would think to do, but not necessarily a program like
Dreamweaver. but i
agree that it would be a useful feature in lots of programs.
and i think
that what Murray suggested is probably pretty close to what
you're
looking for, if not exactly.
d_macman wrote:
> To respond to both...
>
> courtney (n h c)... I must not be the average user then.
We have many sites,
> and I do a LOT of development, and many times, I may
have several pages with
> several includes on a page. IE, for a form page, I may
have 10-12 pages total
> (including headers, footers, java, PHP process pages,
etc) and to work out the
> processes and for development, I may create several
versions depending on the
> problems I run into.So to not go nuts, I would LOVE to
save the batch of pages
> out, and then be able to re-open them all at once.
Making it easy to jump in an
> out of a test section (I have them saved in a site, and
dont want to make
> second sites just for this purpose).
>
> Not to mention, leaving work and coming back in and
finding out the power went
> out over the weekend and my machine shutdown (and yes, I
have a UPS, but it
> wont run the system for that long).
>
> So, you see why I would like to save them as batch, like
Firefox, way easier.
>
> Murray *ACE* ...
>
> I will try that, I did not even know that was there. Way
cool ! I hope it
> works, especially for power outages, like I mentioned
above!
>
> Thanks all,
>
> Don
>
> -
I have the script partially working. It saves all the open psd as jpg into into a separate directory and it close some of the open files not all. The directory has five files. The script saves only three files, What am I doing wrong?
#target photoshop
if (app.documents.length > 0) {
//flatten the active document
app.activeDocument.flatten();
//jpeg options
var myJPEGOptions = new JPEGSaveOptions();
myJPEGOptions.embedColorProfile = true;
myJPEGOptions.formatOptions = FormatOptions.STANDARDBASELINE;
myJPEGOptions.matte = MatteType.WHITE;
myJPEGOptions.quality = 12;
myJPEGOptions.scans = 3;
// get documents;
var docs = app.documents;
for (var m = 0; m < app.documents.length; m++) {
app.activeDocument = docs[m];
try {
//save file to folder
var myFile = new File(("~/Desktop/forum-test") + "/" + activeDocument.name);
app.activeDocument.saveAs(myFile, myJPEGOptions, true);
//close the document
activeDocument.close(SaveOptions.DONOTSAVECHANGES);
catch (e) {
alert ("Error the script did not execute");This forum is about scripts in Acrobat. You need the Illustrator Scripting forum, I'm guessing.
-
PS CS6 zoom sometimes affects all open images
I'm trying to figure out how to replicate this issue. This is on Win7 x64 with PS CS6. On an infrequent basis, when I zoom in on one open image, the same zoom magnification will be applied to all the other images I have open. When this happens and I have several image files open, you can imagine it's annoying to have to reset the view for all those open images.
It looks like the zoom inheritance sometimes happens when I drag a layer from a zoomed-in image onto another open image window that's at a different zoom magnification. But it doesn't happen every time.
If this is a "feature" please tell me how to avoid or disable it.The shift+Ctrl+0, + and - or 1 are shortcuts I want to ask to have implemented as a JDIs on the feedback site. Also, a shift+clicking the contextual menus of the zoom/hand tool (or spring-loaded ones) Done: http://feedback.photoshop.com/photoshop_family/topics/photoshop_jdi_allow_more_zoom_all_wi ndows_shift_shortcuts#add_product_label
Note: the CTRL or ALT+Spacebar do respect the Shift modifier to work on all open document.
I'm wondering if I will not also ask to have the double-click (and shift-double click) of the zoom and hand tool not register as a tool change (be spring loaded) done: http://feedback.photoshop.com/photoshop_family/topics/photoshop_jdi_make_double_clicking_t he_zoom_or_hand_tool_a_spring_loaded_event?topic_tools=open
Thanks for that feature, Chris, I use it a lot! -
Why, suddenly, does Firefox decline to save all open windows before quitting?
One of the best aspects of Firefox is that you can close your browser and Firefox will--or used to--remember all open tabs. Now my only option is open, or close and lose all tabs. Why?
I agree with mrpoizun. I liked everything about Firefox before 4.
This automatic saving of sessions has one big flaw! When opening FF, it shows a blank screen (simply because my innitial preference is to start on blank). If I should change my mind or accidentaly close this, the blank is saved, or rather the previous session is deleted. The Restore option is disabled.
I request that "Save & Quit" be restored!
Hm. Wonder if there is anything in my browsing habbits that requires FF4? If not, then I'll just try to find an earlier installation file. -
Tonight, for example, I have many tabs open which I'd like to close but re-open tomorrow.
I'd like to save them all as "April 30" in my Bookmarks... the 0ld version allowed me to do this, but I can't find this in the new version.
The only way I don't seem to lose those open tabs I'm working with is by doing "Contol + Delete", but I know this shouldn't be done all the time...
There must be a better way, but if there isn't, would I be able to get back and work with the old version?Please click the '''Helpful''' button next to the answer that solved your Firefox support issue, '''when you are logged in''', so this thread gets marked as '''Solved''' to help other users who may have this same problem.
Maybe you are looking for
-
My ipod touch will no longer download new apps after I updated via apple store.It freezes now when I attempt to download and blanks the app off entirely . How can I reverse the updates or correct the problem moving forward?
-
External subcontracting processing in production orders
Hi Everybody, We are facing a following situation...while using external subcontracting processing in production orders.. Finance wants all costs settled off of production orders with receipts against them at period end to accurately capture costs fo
-
How to put two pictures side by side without loosing the size?
how to put two pictures side by side without loosing the size? I did create a new canvas and double the size but my pictures are smaller in the new canvas please help meeeeeeee!!! my pictures are High13.6 and wide 20.533 with a resolution 240 im work
-
Hi, I have a database with a schema that gets refreshed nightly (user level export/import). This is generating a lot of redo logs. I have a space crunch for archive log location but cannot turn off archiving. How could I reduce the redo log generatio
-
os windows server 2008 oc4j version 10.1.3.4 i try to start oc4j standalone with this command java -jar oc4j.jar in the commandline i get the following 10/08/17 12:55:07 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized but nothing more happens