Sunday, March 28, 2010

PSPaletteMenu category doesn't work for...

Hello,



I would like to have a menu item under Photoshop ''Window'' menu for my automation plugin.

There is a notice in the PIPL.r file that goes with SDK:



// Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.

// This is currently only enabled for automation plugins.

PSPaletteMenu =''**Palette**'';



However when write my PiPL res like in example below



resource 'PiPL' (ListenerResourceID, plugInName '' PiPL'', purgeable)

{

{

Kind { Actions },

Name { plugInName ''...'' },

Category { ''**Palette**'' }, // or Category { PSPaletteMenu }

Version { (latestActionsPlugInVersion %26lt;%26lt; 16) | latestActionsPlugInSubVersion },



...................



menu is not shown under Window menu :(



Want to note that if I specify Category { PSHelpMenu } it works correctly and menu item is shown under Help menu. PSPaletteMenu also doesn't work for Listener plugin that ships with PS SDK.



Looks like plugin is not recognized as automation plugin, but I have correct info.plist props (on MacOS X version)



What should be done to have my plugin menu item under ''Window'' menu?



Regards,

Mac Developer
PSPaletteMenu category doesn't work for...
Any feedback on this? Is it possible to have my plugin's menu item under ''Window'' menu? (For Mac OS X / Windows)
PSPaletteMenu category doesn't work for...
Sorry, is this known issue?

Is it possible to have custom menu item under ''Windows'' menu?

No. You cannot create a floating palette in Photoshop. See the FAQ in the SDK.

Hi Tom, thanks for your reply. Actually I'm not asking about floating palette (which I actually created and there is no issues observed). I just need my automation (!) plugin entry point to be called with kPSDoIt (''Do It'') selector action after menu item is chosen under Window menu. (like it works in case PSHelpMenu)



In the PIPL.r file that goes with SDK it states that



// Use PSPaletteMenu category to add a menu item on the Window (i.e., palette) menu.

// This is currently only enabled for automation plugins.

PSPaletteMenu =''**Palette**'';



Is it documentation issue?



Regards,

Mac Developer

No comments:

Post a Comment