item.menuID for the EDIT dropdown Menu?
The following post shows how to activate items in the PLUGINS drop down menu of Photoshop using UXP.
https://forums.creativeclouddeveloper.com/t/question-about-migrating-cep-plugin-to-uxp/3974/5
It includes the line
const plugins = menuBar.submenu.find(item => item.menuID === 7200)
My question is .... what is the item.menuID number for the EDIT drop down menu?
The context here is that ‘Undo’ is an item in the Edit drop down menu which I wish to address. Currently, I have written a plugin where users can hit ‘Undo’ (say) 6 times if they don’t like the outcome and want to revert to the original state. I would like to provide a button which the user can click in order to automatically instigate 6 'undos'.
