How do I bring up the icon that appears when I use keyboard shortcuts to adjust volume on macos? It doesn't appear when I use AppleScript to adjust the volume

The control in the picture, I need to use any programming way to call out

The AppleScriptI use is as follows:osascript -e 'set volume output volume 50'

The AppleScriptI use is as follows:osascript -e 'set volume output volume 50'

How do I bring up the icon that appears when I use keyboard shortcuts to adjust volume on macos? It doesn't appear when I use AppleScript to adjust the volume
 
 
Q