Skip navigation
Currently Being Moderated

Unable to capture startup and shutdown event of Photoshop in automation Plugin.

Mar 18, 2012 10:43 PM

Hi,

 

I am creating an automation plugin and I want to register some events. I have seen listener plugin sample to register event in startup and unregister event in shutdown. I have used same code in my plugin but I am unable to capture the startup nad shutdown event of Photoshop. On clicking the menu item of my plugin the calls come inside the AutoPluginMain but during the startup or shutdown of plugin, the calls does not come inside the AutoPluginMain.

I am unable to detect the cause of the problem. Can someone please giude me??

 

Thanks in advance.

 
Replies
  • Currently Being Moderated
    Apr 2, 2012 12:27 PM   in reply to poortip87

    You have to check your PIPL settings; for what you are trying to do the plugin should be persistent. I would suggest copying the Listener's PIPL as is and go from there.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 3, 2012 12:00 PM   in reply to Ilya Varaev

    Be careful if you make your plugin persistent and start capturing events - - you don't want to slow the launch of Photoshop or slow down user work.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 5, 2012 11:32 AM   in reply to poortip87

    Are you on windows? The PiPL changes sometimes need a nudge. Right click on .r and compile. Right click on .rc and compile. Build plug-in. Also make sure your plug-in is in the correct location for Photoshop. You can also force Photoshop into a rescan by holding down the Ctrl-Alt(Opt)-Shift keys (that is three keys) during launch.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 16, 2012 12:50 PM   in reply to poortip87

    Sounds like you are missing a custom build step for your .r file. Open up a working example and copy over the custom build step from a .r file that will compile for you.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points