advanced conditions can not be used for this, you'd need to use a script:
async function checkMenuItem() {
let menuItemDetailsString = await get_menu_item_details("Bearbeiten;Einfügen und Stil anpassen");
let menuItemDetails = JSON.parse(menuItemDetailsString);
return menuItemDetails.enabled;
}
is also very useful, thank you. 2) I do not understand. Are there menu items that can disappear completely? Or do you mean menu items that only become visible by pressing a modifier?
yes, for example some app might have that menu item and some other app might not have it
(e.g. to determine whether an app supports text formatting you could check whether the "paste and match style" menu item is available because plain text apps don't have that)
Mm, you can really use that in a very targeted way. Have you posted this script before, or am I the only one who thinks it's clever because it's not really clever at all?