PS CS4 save action that prevents file clobbering?

Hello:
Does anyone know of an action step or event script that will alert you to the existence of a file when using non-dialog save commands in actions?
Scenario:
Suppose I have a "Save" action that points to a specific folder, I then save an image titled XXX into a folder called IMAGES. Then either intentionally or accidentally I get a new (i.e. completely different) image called XXX that I edit and resave to IMAGES via the action. Right now, CS3 and CS4 actions with suppressed save dialogs do not alert you to the existence of a file in the target location. It just saves over it.
I am using function keys to trigger script steps since I have different routines based on image content so batching a directory is not preferred.
The ideal solution would be an "if file exists in path" step.

You will need to write a script to check if the file already exists.
Install the script listener plug-in. Record you save step and check the listener log file on your desktop.
You can then do a if ( File("fullpathtofile").exists ) { alert ('dont do that'); } else { ... do regular save here ... }
Another option would be to use a unique file name generator so you don't ever clobber a file.

Similar Messages

  • [CS4]  save on a local file without  user intervention

    hey,...sorry for my english...
    i work with a other application who need to have the
    information written in the local file without an user intervention
    so...
    i would like to know if it s possible to write or rewrite on
    a local file without intervention of the user...
    whitout the ""save dialogue box" or with a managed save
    dialogue box...
    how to write in a local file without user intervention...
    i need really an answer to make real my project...
    thans for your conprehension

    hey
    thx a lot for your help ...
    if i understand well ...
    it is possible to write or rewrite in a specific folder
    who is determinated by the application folder of
    an specific AIR apllication
    who during his install give the ""authorization to
    write/rewrite /save in his specific installation foder"
    so it s possible with combination of an AIR application.....
    can you give me some information about this AIR application
    that i must build...
    some direction to ask help
    because i dont have the knowledges to do that
    what style/type of AIR application
    what charachteristics of this AIR application....
    so some information that can i use to ask help in the good
    place...
    one more time thx a lot for your help...;)

  • CS4 Save as creates two files

    When "saving" or "saving as" legacy files two files get saved. One has the suffix added as "-01". Is there a preference to turn off because I have to keep going back to kill the duplicate file.
    Mac OSX 10.4.11
    Illustrator version 14.0.0 (CS4)
    Thanks in advance, Bob

    do you have more than 1 artboard?  Uncheck the option of saving artboards. But think, if you do this, you are going to save the current artboard and lose the others....

  • HT4796 i keep getting an error message on my pc that prevents files being downloaded

    I am trying to syn my pc and new macbook pro.  I downloaed the migrate to mac to my pc 3 different times and still get an error message when I open it up on my pc.

    I don't know. Including what the error message and/or number was would be of some assistance.

  • Make photoshop action that saves file with specific filename

    Is there a way to make a photoshop action that does a SaveForWeb, but adds text to the original filename when saving?
    For example, if I open a file called "coverPage," and I want the action to do SaveForWeb as a JPEG, can I have it save  as "coverPageWEBVERSION"?
    Thanks for your time and help

    No this is one thing you will need scripting for.
    They really should have introduced some modification to the Save dialog that allows file naming additions or modifications triggerable within actions. But they never did.
    As a workaround, Bridge is a good tool for renaming, because naming convensions can be SAVED and quickly applied to groups of files. Not often known fact  - On a mac there are also OS scripts that can do the same thing. There is a script called 'rename items' hidden away somewhere. This is accessable by Control or right clicking on a group of files, and going through the 'automate' submenu

  • Save action confusions

    (Running CS3 on Snow Leopard)
    I've been trying to streamline my photoshop workflow, and one trick
    I'm doing is more batch operations--adjust the parameters in camera
    RAW, open, highlight and sharpen and retouch individually, then (1) do
    a batch save of fullsize jpegs, (2) resize and reframe the ones I want to
    use in my desktop screensaver at 1400 x 900 pixels, then (3) a batch
    save of this version to the screensaver folder.  But....the batch operations, while fairly quick, have
    an annoying quirk that I'd love to get around.
    The save action that I have, and use at step (1), does this:
    save copy of DSC_9999.NEF as jpg, high quality, to folder 'photoshop
    temp', title DSC_9999 copy.jpg
    The second save (step (3)) needs to be to a different folder, and with a
    prefix that I want to change each time I save:
    110410 desert trip DSC_9999 copy.jpg to folder 'screensaver ready'
    so that it will be easy to sort by date (shot april 10th, 2011), and
    project or subject (desert trip).
    I have been doing (3) by using my save to jpg action (1), but by
    selecting a destination folder (screensaver ready), I open up
    (reverse the grayed-out) "override save as" options, so I can enter
    "110410 desert trip " + "document name" + "extension". 
    This is easy and quick enough, but then when I want to do the next
    batch, the override info stays there and screws up the save, even if I
    clear the destination to "none"--I get an error message, have to cancel
    the batch save, then when I ask a 2nd time for the batch operation,
    the override info is gone, and the batch save action works as I expect
    for (1). 
    Can anyone here suggest a better way to do this quickly and efficiently?  I'd like to either be able to clear the previous
    override info so that I don't have to go through the false start to
    clear it; or create a save as jpg action that would allow me to enter a
    different prefix each time I save (110410 desert trip, or 100415
    Sara's Baby).
    Do I need screenshots to make this question clear?

    If you are talking about a few different save locations and prefixes it might be easier to Script the task(s).

  • I saved my Form Central spreadsheet file once as a excel file but it will not allow me to save it a second time as an excel file.  It says that I cannot complete this action because the file me be open in another application, but it is not open in another

    I saved my Form Central spreadsheet file once as a excel file but Forms Central will not allow me to save the file a second time as an excel file.  I am informed that I cannot complete this action because the file me be open in another application, but it is not open in another application. What is the problem, and how do I solve the problem.  Thank you. Jeff

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • How to I record an Action to Save As that doesn't include a file name??

    Hi -
    I have an Action that will crop and scale a PDF file then Save As a JPG to a destination folder.  The problem is that when I recorded the Action I did so with a file named ABC.PDF and Saved it as ABC.JPG - and now every file saved with this
    Action is named ABC.JPG
    This makes it impossible to use with a bunch of different files.  One file gets overwritten multiple times with the same name.  The  file name ABC.JPG is "burned" into the Action.
    SO - how do I record an Action to Save As without including a file name??
    TIA your help on this crazy problem -
    Josh
    CS5 on Windows7

    PeterK - thanks for the reply.  I tried that already - initially actually. 
    I even tried blanking out the field so I would save a file with NO name.  PSD added it's own .jpg and saved it like that.  Every file after that over wrote that one too so after using the Action on 6 files I still only had one ".jpg" in the folder.
    I was hoping that there was a setting or preference somewhere.  SInce this is Windows might it be OS related?

  • How to make an action that does not record the path in which you save your file

    Hi all, once I set an action like this:
    and with the batch i can always choose the destination folder, time by time.
    But I tried to do a similar action that saves a png file, but I can't leave the "in: " empty, it always fill with a path.
    How can I do?
    Thanks a lot!

    Basically i need to create a new document out of a folder full of images.
    You may have to look into Scripting to achieve something like this.
    You could ask in the Scriptimg Forum
    Photoshop Scripting
    But maybe it would suffice to insert the Menu Item
    File – Scripts – Load Files into Stack
    into the Action and then iterate through the Layers with [ or ] and reset the opacities and Blend Modes – but as Actions would not be able to change the number of repetitions of the operation conditionally a custom Script would still seem preferable. 

  • Create Action that delete input file after OCR

    I've created an Acrobat X Pro action that OCR's all files in a given INPUT directory and then save the OCR file in an OUTPUT directory.  Is there a way to delete the file from the INPUT directory once it's processed?

    Hi,
    There is a way but I would not do it. Rather than put the files to an "output" folder you can replace the original files in the "input" folder. Why not delete the original files through windows when the process is complete?

  • A script that captures the coordinates of the mouse clicks and saves them into a file

    Hello,
    I'm trying to create a cartoon taking a movie (I've chosen blade runner) as base. I've got the real movie and I've exported all the pictures using VirtualDUB. Now I have a lot of images to modify. I would like to modify the actors faces with the faces generated by Facegen modeller. I'm thinking how to make the whole process automatic because I have a lot of images to manage. I've chosen to use Automate BPA,because it seems the best for this matter. I'm a newbie,so this is my first attempt using Adobe Photoshop and Automate BPA. I wrote a little script. It takes a face generated with Facegen modeller and tries to put it above the original actors faces. But it doesn't work very good and I'm not really satisfied,because the process is not fully automated. To save some time I need to write a script that captures the coordinates of the mouse when I click over the faces and that saves them into a file,so that Automate BPA can read these coordinates from that file and can put the face generated with Facegen Modeller above the original face. I think that Automate BPA is not good for this matter. I think that two coordinates are enough,X and Y. They can be the coordinates of the nose,because it is always in the middle of every face. It is relevant to knows how big should be the layer of the new face,too. This is the Automate BPA code that I wrote :
    <AMVARIABLE NAME="nome_foto" TYPE="TEXT"></AMVARIABLE>
    <AMVARIABLE NAME="estensione_foto" TYPE="TEXT"></AMVARIABLE>
    <AMSET VARIABLENAME="nome_foto">br</AMSET>
    <AMSET VARIABLENAME="estensione_foto">.jpeg</AMSET>
    <AMVARIABLE NAME="numero_foto" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_x" TYPE="NUMBER"></AMVARIABLE>
    <AMVARIABLE NAME="coord_y" TYPE="NUMBER"></AMVARIABLE>
    <AMWINDOWMINIMIZE WINDOWTITLE="Aggiungere_layer - AutoMate BPA Agent
    Task Builder" />
    <AMWINDOWMINIMIZE WINDOWTITLE="AutoMate BPA Server Management Console
    - localhost (Administrator)" AM_ONERROR="CONTINUE" />
    <AMENDPROCESS PROCESS="E:\Programmi_\Adobe Photoshop
    CS5\Photoshop.exe" AM_ONERROR="CONTINUE" />
    <AMRUN FILE="%&quot;E:\Programmi_\Adobe Photoshop CS5\Photoshop.exe&quot;%" />
    <AMPAUSE ACTION="waitfor" SCALAR="15" />
    <AMSENDKEY>{CTRL}o</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMINPUTBOX RESULTVARIABLE="numero_foto">Inserire numero FOTO di
    partenza -1</AMINPUTBOX>
    <AMINCREMENTVARIABLE RESULTVARIABLE="numero_foto" />
    <AMPAUSE ACTION="waitfor" SCALAR="1" />
    <AMMOUSEMOVEOBJECT WINDOWTITLE="Apri" OBJECTNAME="%nome_foto &amp;
    numero_foto &amp; estensione_foto%" OBJECTCLASS="SysListView32"
    OBJECTTYPE="ListItem" CHECKOBJECTNAME="YES" CHECKOBJECTCLASS="YES"
    CHECKOBJECTTYPE="YES" />
    <AMMOUSECLICK CLICK="double" />
    <AMPAUSE ACTION="waitfor" SCALAR="10" />
    <AMSENDKEY>{CTRL}+</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="20" />
    <AMSENDKEY>l</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="659" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="546" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="429" MOVEY="281" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMSENDKEY>v</AMSENDKEY>
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="131" MOVEY="99" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSEMOVE MOVEX="99" MOVEY="162" RELATIVETO="screen" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMMOUSECLICK CLICK="release" />
    <AMPAUSE ACTION="waitfor" SCALAR="2" />
    <AMINPUTBOX RESULTVARIABLE="coord_x">Inserire coordinata X</AMINPUTBOX>
    <AMINPUTBOX RESULTVARIABLE="coord_y">Inserire coordinata Y</AMINPUTBOX>
    <AMMOUSEMOVE MOVEX="200" MOVEY="200" RELATIVETO="screen" />
    <AMMOUSECLICK CLICK="hold_down" />
    <AMMOUSEMOVE MOVEX="%coord_x%" MOVEY="%coord_y%" RELATIVETO="position" />
    <AMMOUSECLICK />
    and this is a short video to explain better what I want to do :
    http://www.flickr.com/photos/26687972@N03/5331705934/
    In the last scene of the video you will see the script asking to input the X and the Y coordinates of the nose. This request is time consuming. For this reason I want to write a script that captures automatically the coordinates of the mouse clicks. The only thing to do should be click over the nose and the script should make the rest. As "c.pfaffenbichler" suggested here : http://forums.adobe.com/thread/775219, I could explore 3 ways :
    1) use the Color Sampler Tool’s input with a conventional Photoshop Script.
    2) use After Effects would provide a better solution.
    3) Photoshop’s Animation Panel might also offer some easier way as it might be possible to load two movies (or one movie and one image) and animate the one with the rendered head in relation to the other.
    Since I'm a totally newbie in graphic and animation,could you help me to explore these ways ? Thanks for your cooperation.

    These are the coordinates of the contours of the face that you see on the picture. Can you explain to me how they are calculated ? The coordinates of the first colums are intuitive,but I'm not able to understand how are calculated the coordinates of the second one.
    Thanks.
    1 COL     2 COL (how are calculated these values ?)
    307.5000 182.0000 m
    312.5000 192.0000 l
    321.5000 194.0000 l
    330.5000 193.0000 l
    335.0000 187.0000 l
    337.0000 180.5000 l
    340.0000 174.0000 l
    338.5000 165.5000 l
    336.0000 159.0000 l
    331.5000 153.0000 l
    324.5000 150.0000 l
    317.0000 154.0000 l
    312.5000 161.0000 l
    309.0000 173.0000 l
    307.5000 182.0000 l
    Message was edited by: LaoMar

  • Is there some file setting that prevents the Image Processor from resizing?

    Problem:
    Some jpg images can't be resized using the Image Processor. I'm guessing there may be some setting (?) that prevents resizing but i can't find it. The images run through the Image Processor but retain their original size.
    Platform:
    Windows XP Pro, SP2
    Photoshop CS4, Bridge CS4
    What i tried:
    - i looked at the file info in Bridge - nothing apparent there that would cause the problem
    - the file attributes in Windows only have the archive bit set (they are NOT read only)
    - when i run the Image Processor either from Bridge or Photoshop the picture remains its original size
    - i have tried many combinations in the Image Processor dialog box, e.g. Convert Profile to sRGB, Include ICC Profile, etc.  (i DO have the Resize to fit check box checked)
    - i can resize the photo manually in Photoshop
    - some photos work, some don't
    - many of the photos were edited on Roxio on my wife's computer, renamed in Bridge and then copied over to my computer
    Thank you very much!
    Steve
    Message was edited by: signcarver
    added one more thing i tried

    I did as you suggested.  Turned out to be a hardware problem.  Apple Store replaced it!
    Thanks

  • Cannot save or open .ai files that's on a server.

    Hello everyone,
    My office upgraded to CS4 few month ago, and I am having problem saving and opening AI files. It seems like a server problem but I'm not sure because my co-workers can save and open file without problem. We are using exact same computers with exact same settings.
    I can save and open AI files no problem when they are saved on the computer that I used to create the file. However, when I try to save the file to the server, which is a computer on the same network, Illustrator gives me an error massage saying "This file may be read-only, or another user may have it open. Please save the document with different name or in a different folder." No one else has the file open (because I just made this file) and it is not read only. When I click on "OK" Illustrator creates a AI file that is 0 KB in the folder where I was trying to save. If I try to open this file, another error massage "The file 'test.ai' is in an unknown format and cannot be opened"
    I can save files as EPS from Illustrator no problem (even on the server) and I can open them normally. All other formats such as, indd, psd, tiff etc. saves fine and I can open them too. Once in a while, Illustrator will not give ma any error code but they still save as 0KB. When I move the file from my computer to the server, the file is not 0KB but I can no longer open the file. It is really strange.
    Does anyone have any idea what's going on? Please help. Thank you in advance.

    If you do a search on Google i believe you will find links to pages that describe the problem and ffer a solution.
    If on windows perhaps this is the problem
    http://www.techsupportforum.com/design-forum/graphic-design-digital-imaging-multimedia/409 713-adobe-illustrator-cant-save-file.html
    of I do believe there is another issue as well.
    I could not find it myself though I am certain there is a fix.
    it might be a permissions problem.

  • Prevent File Save Dialog appearing?

    I have been using Excel 2010 to create Word Documents and then use .SaveAs to save the newly created file without any issues
    When I moved to Office 2013 the same code now presents a File Save dialog box.
    I have researched the issue and can find no way to prevent the Dialog appearing (and worse regardless of the user selection the Excel code crashes)
    The following is a simplified version of the troublesome code
    Sub TestWordSaveAs2()
    Dim InvoiceProFormaFileName As Variant
    Dim NewFileName As String
    Dim WordApplication As Object
    Dim WordDoc As Object
      ' Prompt for a word document
      InvoiceProFormaFileName = Application.GetOpenFilename(FileFilter:="Word Documents, *.docx", Title:="Any Word File", MultiSelect:=False)
      Set WordApplication = CreateObject("Word.Application")
      Set WordDoc = WordApplication.Documents.Open(InvoiceProFormaFileName) ' Open the pro-forma invoice
      ' Create a new name
      NewFileName = Replace(InvoiceProFormaFileName, ".docx", "2.docx")
      WordDoc.SaveAs2 Filename:=NewFileName, FileFormat:=16, AddtoRecentFiles:=False ' <======= this line Shows the File Save Dialog and then fails
      WordDoc.Close SaveChanges:=0 ' wdDoNotSaveChanges
      ' Finished with the Word Application so can close
      WordApplication.Quit
    End Sub
    Thank you in advance

    Hi,
    I have create a doc file and a excel file in my pc, after I run the code you have provided ,and choose the doc file I just created, it runs without any save dialog. And My Office is Pro Plus 2013 .
    I have upload my sample to OneDrive, you can download it here:
    http://1drv.ms/1DhnMe5
    When you run this sample, will this show the save dialog again ?
    To narrow down this issue, can you create a new empty word and choose it in the excel, does it will happen again? if it is convenient, can you share the doc file you're using? Have you update your office ?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adobe Illustrator CS4 Error: Error 1603. Error 1305.Error reading from file C:\Program Files\Adobe\Adobe Illustrator CS4\Support Files\Required\Fonts\AdobeSongStd-Light.otf.  Verify that the file exists and that you can access it.  AdobeColorCommonSetRGB

    Iam trying to load illustator in my PC i get following error while loading Application CD 2
    Adobe Illustrator CS4
    Error:
    Error 1603. Error 1305.Error reading from file C:\Program Files\Adobe\Adobe Illustrator CS4\Support Files\Required\Fonts\AdobeSongStd-Light.otf. Verify that the file exists and that you can access it.
    AdobeColorCommonSetRGB
    Error:
    Error 2.
    My serial no. [Removed by moderator]

    Download a copy an installer for CS4 from the links on this page:
    Other downloads

Maybe you are looking for

  • How to find out which SMB version runns on Lion

    Hello, How can i find out which SMB Protocol Version runns on OS X Lion?? We have a small LAN and have bad performance with Macs running Lion (and Mountain Lion) connected to Windows 7 / 8 I am still running Snow Leopard and get better performance th

  • Unable to add server to the manager nac version 4.7

    hi all, I cannot add my nac server 3310 to nac mgr 3310 version 4.7. Its showing ssl error. Both the time in server and manager are synchronized.we can reach server from manager and vice versa. I am attaching the screen shots of the event log can som

  • Problems starting weblogic on Linux

    Hi I am running a weblogic 5.10 server with sp6 on a redhat 7.0 system. When i am starting i get this error on the console: The WebLogic Server did not start up properly. Exception raised: java.lang.reflect.InvocationTargetException java.lang.reflect

  • Flash Player 13 Macトラブルの修正アップデートは4月17日リリース予定です

    4/17更新 一部のMacでプラグインエラーが起きるFlash Player 13.0.0.182の修正アップデート 13.0.0.201(Mac only)がリリースされました. ご注意! インストールの際は.インストーラ(及びFinder)以外のすべてのアプリケーションを終了してください. http://get.adobe.com/jp/flashplayer/ よりダウンロードできます. または.アーカイブページからスタンドアロンインストーラのダウンロードも可能です. http://hel

  • Why does bridge constantly re-create previews?

    My understanding is that Bridge generates previews and stores them in the cache.  However, it seems to forget it created the previews when I shut down then boot up the next day, so directories that I visited the day before still get the "XXX preview