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.
Thanks for the reply.
I also checked my PiPL settings and few things were missing but I added the code to make it persistent.I also, copied the Listner's PiPL but was not able to achieve the result.
Can you please guide me,if am I doing something wrong?
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.
Thanks for the suggestion.
Yes, I am working on Windows. As you suggested, I compiled .rc file but the compile option for .r file was disabled. After compiling the .rc file, I again rebuild the complete project and tested my build. But still I was not able to achive the desired result.
Any other thing that I need to do to make it work?