Sub willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) Handles willShowContextualMenu
List.AddRow CurrentMethodName
// remove all
menu.removeAllItems
menu.allowsContextMenuPlugIns = false
End Sub
Aren’t services contextual for things you have installed? I customize them to suit my needs in System Settings. For example, there’s a service for Sentinel if you use that for launching unsigned apps.
Yep, I just meant that I saw the existence of the services menu, not that the items were the same.
@Beatrix_Willius if you create your own menu in that event then you can get rid of the services menu.
Sub willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) Handles willShowContextualMenu
dim base as new MenuItem
base.AddMenu(New MenuItem("Import"))
base.AddMenu(New MenuItem("Export"))
base.AddMenu(New MenuItem(MenuItem.TextSeparator))
base.AddMenu(New MenuItem("Cut"))
base.AddMenu(New MenuItem("Copy"))
base.AddMenu(New MenuItem("Paste"))
dim hitItem as MenuItem = base.PopUp
End Sub