Skip to main content
Known Participant
May 25, 2011
Answered

How to determine the order of plugin menu entries displayed in Automate menu?

  • May 25, 2011
  • 1 reply
  • 1388 views

I found in Plug-in Resource Guide.pdf:

-----------------------------

int16 PIPriorityProperty 0x70727479L
('prty')
Plug-in load order. Also used to control
the order in which items with the same
name show up in menus.
Lower numbers (including negative
ones) load first. If NULL, the default is
zero.

-----------------------------

Now I have some plugins, but I saw that under the same Category, the menu items are showed by Lexicographic Order (A:up Z:down), but not by their Priority Properties. Also, each category is arranged by Lexicographic Order of suite name. It means, If I change the plugin names to other language, the order will be different, that's inconvenient for the users. What could I do to get a fixed order? Any idea will be appreciated.

This topic has been closed for replies.
Correct answer Chris Cox

You can get 2 identical names by mistake, with different versions of a plugin, or with overlapping functionality (such as replacement file formats).

No, there is no way to get absolute placement of menu items for a plugin.

And the reference to suites makes no sense.

1 reply

Chris Cox
Legend
May 25, 2011

Priority determines load order and order when checking file formats.

The plugin name determines it's position in the menu, with priority only applying if 2 items have identical names.

Royt2011Author
Known Participant
May 26, 2011

Yes it is, but I think that is strange if someone would add 2 items with identical names, the user will be confused. Is there some other ways to determine the position of each menu item?

It seems the photoshop loads plugins suite by suite. If I have 2 suite named "A" and "Z", then all plugins of "A" are loaded by priority, then plugins of "B" be loaded. Can I change the loading order, other than modify the suitename?

Chris Cox
Chris CoxCorrect answer
Legend
May 26, 2011

You can get 2 identical names by mistake, with different versions of a plugin, or with overlapping functionality (such as replacement file formats).

No, there is no way to get absolute placement of menu items for a plugin.

And the reference to suites makes no sense.