Execute Microsoft Teams shortcuts from Node.js via applescript
npm i msteams-node-applescript-shortcuts@next
Usage
; ;
Commands
All commands accept the following arguments:
- Reactivate (boolean - default: false): Reactivates the original application. If this is true, it will open Microsoft Teams, run the shortcut, and reactivates the original appliction again.
Accept
Accept a call coming in.
await MeetingsAndCalls.accepttrue;
Decline
Decline a call coming in.
await MeetingsAndCalls.declinetrue;
Mute
Toggles your microphone (mute/unmute) in a call/meeting
await MeetingsAndCalls.mutetrue;
Camera
Toggles your camera in a call/meeting
await MeetingsAndCalls.cameratrue;