Adding/overwriting menu items in PS menus

Hi all,

I’m working on Photoshop integration into our studio pipeline, and as part of this work I need to intercept certain commands in the PS menus (the “Export As…” and “Quick Export to PNG” actions under “File → Export”) and add extra processes for our pipeline. Alternatively adding new menu items for UXP command plugins to these menus would work too. How can I go about doing this with the Photoshop API?

Many thanks,
Nik

As another (less preferred) alternative, is there any way to have your UXP plugins display in a new Toolbar menu rather than under Plugins? So from the current structure of

Plugins → {Plugin Name} → {Command Name}

to something like

My Plugins → {Command Name}

Thanks!
Nik