How can I extend Mic Drop with automation?
Since version 2.0.0, Mic Drop has support for scripting via the command line, automations, and the Shortcuts app using AppleScript commands.
AppleScript commands are a pro feature, so you’ll either need to be on your free trial of Mic Drop (active for the first 30 days you use the app) or have purchased the Super Pro Features. Otherwise you’ll get a response of AppleScript requires pro features. when running AppleScript commands.
Get mute state
You can read the mute state for Mic Drop using:
tell application "Mic Drop"
read
end tell
As a shell command:
osascript -e 'tell application "Mic Drop"' -e 'read' -e 'end tell'
The command will return a string: 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.
Toggle mute state
You can toggle the mute state for Mic Drop using:
tell application "Mic Drop"
toggle
end tell
As a shell command:
osascript -e 'tell application "Mic Drop"' -e 'toggle' -e 'end tell'
Mute microphone(s)
Set devices to be muted using:
tell application "Mic Drop"
mute
end tell
As a shell command:
osascript -e 'tell application "Mic Drop"' -e 'mute' -e 'end tell'
Unmute microphone(s)
Unmute all devices using:
tell application "Mic Drop"
unmute
end tell
As a shell command:
osascript -e 'tell application "Mic Drop"' -e 'unmute' -e 'end tell'
You can use these commands from a command-line script or anywhere else you can run AppleScript. If there are other things you’d like to be able to read/set with automations, let us know and we can probably add it. 😄
Still have questions? We’re here to help! Contact us
Unsubscribe any time. We won’t ever share your information with anyone else. Privacy.
Made with and by Sarah and Matt