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 tellAs 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
Toggles the mute state for Mic Drop.
tell application "Mic Drop"
toggle
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'toggle' -e 'end tell'
Mute microphone(s)
Mute all devices.
tell application "Mic Drop"
mute
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'mute' -e 'end tell'
Unmute microphone(s)
Unmute all devices.
tell application "Mic Drop"
unmute
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'unmute' -e 'end tell'
Check if Mic Check is visible
Check to see if the Mic Check window is on-screen.
tell application "Mic Drop"
readmiccheck
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'readmiccheck' -e 'end tell'
The command will return a string: visible if Mic Check is open, hidden if Mic Check is closed.
Toggle Mic Check window
Toggle Mic Check.
tell application "Mic Drop"
togglemiccheck
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'togglemiccheck' -e 'end tell'
Hide Mic Check
Hide the Mic Check window.
tell application "Mic Drop"
hidemiccheck
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'hidemiccheck' -e 'end tell'
Show Mic Check
Open the Mic Check window.
tell application "Mic Drop"
showmiccheck
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'showmiccheck' -e 'end tell'
Get Push-to-talk mode
(New in version 3.0.0.) Get the current Push-to-talk mode. Returns one of three values: 'off', 'push-to-talk', or 'hold-to-mute'.
tell application "Mic Drop"
getpushtotalkmode
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'getpushtotalkmode' -e 'end tell'
Set Push-to-talk mode
(New in version 3.0.0.) Set the Push-to-talk mode using one of the three values: 'off', 'push-to-talk', or 'hold-to-mute'.
tell application "Mic Drop"
pushtotalk mode "off"
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'pushtotalk mode "off"' -e 'end tell'
Get AirPods Press to Mute mode
(New in version 3.0.0.) Check whether AirPods Press to Mute is enabled. Returns either: 'AirPods Press to Mute is on' or 'AirPods Press to Mute is off'.
tell application "Mic Drop"
getairpodsmute
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'getairpodsmute' -e 'end tell'
Enable AirPods Press to Mute
(New in version 3.0.0.) Turns on the AirPods Press to Mute setting.
tell application "Mic Drop"
airpodsmuteon
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'airpodsmuteon' -e 'end tell'
Disable AirPods Press to Mute
(New in version 3.0.0.) Turns off the AirPods Press to Mute setting.
tell application "Mic Drop"
airpodsmuteoff
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'airpodsmuteoff' -e 'end tell'
Toggle AirPods Press to Mute
(New in version 3.0.0.) Toggles the AirPods Press to Mute setting between on/off.
tell application "Mic Drop"
toggleairpodsmute
end tellAs a shell command:
osascript -e 'tell application "Mic Drop"' -e 'toggleairpodsmute' -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