docs » ToggleSkypeMute

Provide keybindings for muting/unmuting Skype or Skype for Business

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ToggleSkypeMute.spoon.zip

API Overview

API Documentation

Variables

logger
Signature ToggleSkypeMute.logger
Type Variable
Description

Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon.

Source Source/ToggleSkypeMute.spoon/init.lua line 17
notifications
Signature ToggleSkypeMute.notifications
Type Variable
Description

If true, produce notifications when Skype is muted/unmuted. Defaults to true.

Source Source/ToggleSkypeMute.spoon/init.lua line 22

Methods

bindHotkeys
Signature ToggleSkypeMute:bindHotkeys(mapping)
Type Method
Description

Binds hotkeys for ToggleSkypeMute

Parameters
  • mapping - A table containing hotkey modifier/key details for the following items:
    • toggle_skype - Mute/unmute active conversation in Skype
    • toggle_skype_for_business - Mute/unmute active conversation in Skype For Business
Returns
Source Source/ToggleSkypeMute.spoon/init.lua line 65
toggle
Signature ToggleSkypeMute:toggle(app)
Type Method
Description

Toggle Skype between muted/unmuted, whether it is focused or not

Parameters
  • app - name of the application to mute/unmute. Supported values are "Skype" and "Skype for Business". Defaults to "Skype".
Returns
  • None
Source Source/ToggleSkypeMute.spoon/init.lua line 27