How can I extend Mic Drop with automation?
Browse help topics
Mic Drop supports scripting via the command line, automations, and the Shortcuts app using AppleScript commands.
These features are available as of version 2.0.0.
Running a command #
In AppleScript, send a command to Mic Drop with a tell block. For example, to read your mute state:
tell application "Mic Drop"
read
end tellTo run a command from the command line, use osascript, and replace read with any command below:
osascript -e 'tell application "Mic Drop"' -e 'read' -e 'end tell'
Commands #
| Command | What it does | Added |
|---|---|---|
read | Gets your mute state. Returns active if the microphone is active and will transmit sound, muted if Mic Drop has muted your default input device, or cannot-mute if your default input device cannot be muted by Mic Drop. | 2.0.0 |
toggle | Toggles the mute state. | 2.0.0 |
mute | Mutes all devices. | 2.0.0 |
unmute | Unmutes all devices. | 2.0.0 |
readmiccheck | Checks whether the Mic Check window is on-screen. Returns visible if Mic Check is open, or hidden if it’s closed. | 2.0.0 |
togglemiccheck | Shows or hides Mic Check. | 2.0.0 |
showmiccheck | Opens the Mic Check window. | 2.0.0 |
hidemiccheck | Hides the Mic Check window. | 2.0.0 |
getpushtotalkmode | Gets the current Push-to-talk mode. Returns a sentence like Mic Drop Push-to-talk is currently: 'off', where the mode is one of 'off', 'push-to-talk', or 'hold-to-mute'. | 3.0.0 |
pushtotalk mode "off" | Sets the Push-to-talk mode to one of "off", "push-to-talk", or "hold-to-mute". | 3.0.0 |
getairpodsmute | Checks whether AirPods Press to Mute is on. Returns 'AirPods Press to Mute is on' or 'AirPods Press to Mute is off'. | 3.0.0 |
airpodsmuteon | Turns on AirPods Press to Mute. | 3.0.0 |
airpodsmuteoff | Turns off AirPods Press to Mute. | 3.0.0 |
toggleairpodsmute | Toggles AirPods Press to Mute on or off. | 3.0.0 |
Do I need Super Pro? #
AppleScript commands are a pro feature. You can try them out for free during your thirty-day trial. If you’d like to continue using them after that, you’ll need to purchase a one-time unlock of Super Pro.
If you don’t have pro features, AppleScript commands will fail with the error number 402 and the message:
AppleScript commands require Mic Drop Super Pro. Open Mic Drop to upgrade.
Mic Drop will also show a window explaining how to upgrade. This window will appear at most once every twenty-four hours. If your script keeps running, the command will just silently fail.
Want another command? #
If there are other things you’d like to read or set with automations, let us know and we can probably add it. 😄
Last updated
More about AppleScript →Still have questions? We’re here to help! Contact us