I’m exploring the Photoshop API, specifically the require('photoshop').performMenuCommand() functionality. Through debugging, I’ve observed that menu actions trigger commands with numeric IDs (e.g., 101 for certain undo, 1170 for opening the Actions panel, etc.).
Could you kindly clarify whether these Command IDs remain consistent across:
Different devices (macOS/Windows), and
Different Photoshop versions?
This information would be invaluable for ensuring reliable integrations. Thank you for your time and support.
From what I know the ids remain the same and unchanged in the versions of photoshop.
The values that change are those with a negative value such as:
-20013.
Your clarification aligns with my observations—that plugin-related menu items (including built-in plugins like Blur filters) use negative Command IDs , while native Photoshop functions use positive ones. This insight is greatly appreciated!!!