Show AppleScript in Custom Context Menu

Hi
I can't show AppleScript widgets in the custom context menu. How can I do this? For example, when I click on my Now Playing menu bar widget, I want it to show an interactable slider in the context menu for the place in the song