How can we get save event at Photoshop shutdown?

Hi All!!
I have to perform some actions on the save event of a document. I had no problem in doing the same. But, during testing different save event trigger scenarios, I came across the a situation in which an untitled document is open and the user closes Photoshop. At this point Photoshop prompts the "Do you want to save document?" message. Regardless of the user selection ("Yes"/"No"), the plugin is unable to get the save event, possibly because of application shutdown. I get the kSPInterfaceShutdownSelector message directly. No stop at the save event callback.
How can I ensure that my save event callback is executed everytime a user saves a document?
Thanks!

Hi Ilya,
I put in event listeners for close event, save event. I receive a call at the close event call back function. There I tried to get the saved document name, but I get none since the document has been closed. I need the saved document name to do my work. After the close event call back function, the call goes straight to shutdown plugin. The save event callback is missed totally. Why is this being done?
The same is being done if I close an unsaved document without closing Photoshop. I am presented with a "Do you want to save?" prompt. If I choose "Yes", then the plugin just receives a call at the close event callback. No call received at the save event callback.
What can I do?

Similar Messages

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
    Thanks

    Hi,
    To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
    Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
    Say
    myFrame which is the JFrame object which shuld be monitored for the events.
    Then in ur program u have to add following code
    myFrame.addMouseListener( someObectReference );
    Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
    public class MyMouseListener implements MouseListener {
    // override the followig methods
    public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
    public void mousePressed(MouseEvent me){}
    public void mouseReleased(MouseEvent me){}
    If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
    and u should say myFrame.addMouseListenet( this );
    thats it

  • Hello! I havent received any code after paying for it! Money's been withdrawn from my bank account and all I have now is a transaction code. How can I get the code for Photoshop?

    I havent received any code after paying for it! Money's been withdrawn from my bank account and all I have now is a transaction code. How can I get the code for Photoshop?

    You'll need to call Adobe customer support on the telephone.  There's little we fellow users can do to help you.
    -Noel

  • How can I get the updates for Photoshop CS5 to download to my new Macbook Pro where I have already installed CS5 from my original disk? I have tried many times over 2 days. I was able to successfully download the current version of Adobe DNG converter.

    How can I get updates for Photoshop CS5 to download to my new Mac book pro where CS5 is already installed from my original disk? I have tried many times over 2 days. I get the same error messages re downloading error. I successfully downloaded the current version of Adobe DNG Converter & it installed perfectly. Help please!

    The Adobe auto updater is highly unreliable.
    You need to look for and download the update yourself and then manually apply it as per the detailed instructions on the download page:
    Adobe - Photoshop : For Macintosh
    ~~~~~~~~~~~~~~~~~~~~~~
    Please note that the Adobe Camera Raw plug-in must be updated separately, after you have updated Photoshop:
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh

  • How  can i get the event of selected PageItem in ActionScript

    hi,
    when i select the pageitem on document then i want the event of that pageitem .
    Is there a possibility to get that event ?
    best thanks for any hint.
    govind

    Marcel,
    Please consult the "Tables" chapter in the UIX Developer's Guide. You can search for a method titled "doSelectionEvent" that will indicate how to deal with table selections.
    Hope this helps,
    Ryan Pollock

  • How can I get the event triggered in the WDOBEFOREACTION of my View?

    I have a custom WDA inserted into an SAP FPM.
    I need to find out whether the user just hit <Enter> or actually chose an FPM button such as Read Only.
    How could I find out the FPM event in my View?

    In my opinion, you would not get FPM events in your view. FPM events are handled in the controllers method like process_event.

  • How can i get multiple photos onto photoshop?

    How do I get multiple photos on to photoshop. I want to work on them together and move one part of one photo onto the other.

    Start by asking in the Photoshop forum
    This forum is actually about the Cloud, not about using individual programs
    For product specific questions you may do better in the specific product forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/photoshop

  • How can i get to lightroom to photoshop? I get this message: "this version of Lightroom may require the photoshop camera raw plug-in version 8.5 for full compatibility." I have updated both light room and camera raw. I still cannot go from lightroom to ph

    I never had this problem with lightroom 3, I purchased the upgrade and since then i have done all the updates including my photoshop and it still will not work.
    Help

    I am six minutes into the video and while Jan is doing a great (terrific, actually) job of explaining things I already know, she has yet to explain the subject issue. So I am unsure what "at the beginning" means... is there a time-marker for the point you are referring to?
    Anyway, I have Lightroom v5.5 and Photoshop CC 2014 installed on two machines -- a Win v8.0 Laptop and a Win v8.1 Desktop. Adobe Camera Raw (in Photoshop) is v8.5 on the Laptop and v8.2 on the Desktop. Therefore when I "edit in" in Photoshop on the Desktop I, too, get the OP's error message. When I use the "Update" option under the "Help" menu in Photoshop (on the Desktop), I am told that all the programs are "Up-to-date."
    Does anyone know how to force an ACR update? In other words is there an "install" process somewhere?
    Edit: Jan's explanation of the error message starts a the 31:50 mark. It does not, however, answer my question about updating Photoshop CC 2014.

  • How can I get direct support for Photoshop Touch?

    Hi,
    does anyone know what's the best way to get direct support for PS Touch? I searched but didn't find anything...
    It's great to have a good community, but I think it shouldn't replace direct support.
    I still have a problem with loading pictures which makes PS touch more or less useless for me.
    Thanks,
    Raschko

    http://support.apple.com/kb/ts3694#error50
    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.

  • How can i get a refund for photoshop element

    I don't know why it's taking so long to get a refund on my photoshop element

    I'm waiting for conformation number.  I also purchased the photoshop bundle package instead of the photoshop element where i pay monthly.  So i just want a refund when I had purchased it on 3/8/15

  • How can I get a trial from Photoshop CS5 now?

    My problem is that I have a valid key for Photoshop CS5 but my DVD is broken and does not work.
    Last time installing I took a copy of a trial and switched to full installation by putting my serial in it.
    Please could you help me?
    Best,
    Luyindula

    Hi,
    Please visit http://prodesigntools.com/all-adobe-cs5-direct-download-links.html for the downloads you are looking for.
    Thanks
    Kapil Malik

  • How can I get latest update for Photoshop Elements 9??  I have been trying for a month and the update download continues to fail.

    Photoshop Elements Update download continues to fail after at least 4 weeks.

    Try downloading the updates from here:
    windows
    Adobe - Photoshop Elements : For Windows
    mac
    Adobe - Photoshop Elements : For Macintosh

  • How can i get the 'like in photoshop' preset?

    I was watching an Illustrator 6 tutorial and the instructor was able to change his workspace to resemble photoshop with a 'Like in photoshop' preset. There was also an InDesign and FreeHand preset as well. Is this a feature that needs to be enabled or downloaded.

    You're right Kurt. Here's a picture from AICS5

  • HELP! How can I get such effect in photoshop elements 11

    @

    nikola55555 wrote:
    The last picture is mine.I am not happy with it. Can you advice me what should I do so it looked like the first two pictures
    Try this, Nikola,
    Open picture file. This will be the background layer.
    With the magnetic lasso tool, select the object, top left, then place it on a separate layer (CTRL+J)
    With the magnetic lasso tool, select the middle object, then place it on a separate layer (CTRL+J)
    With the magnetic lasso tool, select the bottom object, then place it on a separate layer.(CTRL+J
    Shut off the visibility of the background layer, and merge the top 3 layers, leaving you now with 2 layers
    Turn the visibility of the background layer back on
    Highlight the top layer and open a levels adjustment layer above this, and clip the adjustment layer to the layer below (CTRL+G)
    Highlight the background layer to make it active, and open a levels adjustment layer above this
    Double click on the layer thumbnail of the adjustment layer in step #7 to bring up the levels controls and work the sliders below the histogram to bring out the foreground
    Double click the thumbnail of the adjustment layer in step #8 and work the sliders to bring out the background
    Open a blank layer at the top of the stack of layers in the layers palette, and create a stamp visible layer (CTRL+SHIFT+ALT+E)
    Duplicate this layer and change the blending mode to overlay. Apply Gaussian blur @3px (Filter>blur>Gaussian blur)

  • How can I get this effect in Photoshop CS5.1?

    I want to turn a real image like http://bit.ly/pEx1ol
    into something like http://bit.ly/nfkoa4
    Is there a way to do that or do I have to start from scratch?

    Just fooling around with your image, using Stylize - Trace Contour to find significant lines, then filling the spaces with a color sampled from within the spaces, I came up with this in a few minutes.  Kind of a "paint by numbers" rendition.  This doesn't look much like your stylized cat illustration, though.
    -Noel

Maybe you are looking for