The tip of the headphone jack got stuck in the headphone socket of my MacBook Pro and I have the following question:
The "Sound" option in the System Preferences displays sound output through the "Headphones"
However as the headphone's jack is broken, the headphone doesn't work.
If I pull the headphone out, the "Speaker" icon in the menu bar greys out and sound seems disabled.
If I plug in the headphone in, the "Speaker" icon in the menu bar appears as working however as the headphone itself is broken, there is no sound.
Where I live, it is not possible to buy a micro screwdriver to open the MacBook Pro and push away the headphone jack from the headphone plug.
As a temporary solution I would like to use some AppleScript or other program code to force sound output through the MacBook Pro's speakers instead of the headphones, while the headphones are plugged in.