msteams-node-applescript-shortcuts
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Execute Microsoft Teams shortcuts from Node.js via applescript

npm i msteams-node-applescript-shortcuts@next

Usage

import { MeetingsAndCalls } from 'msteams-node-applescript-shortcuts';
 
(async () => {
  await MeetingsAndCalls.mute(true);
})();

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.accept(true);

Decline

Decline a call coming in.

await MeetingsAndCalls.decline(true);

Mute

Toggles your microphone (mute/unmute) in a call/meeting

await MeetingsAndCalls.mute(true);

Camera

Toggles your camera in a call/meeting

await MeetingsAndCalls.camera(true);

Package Sidebar

Install

npm i msteams-node-applescript-shortcuts

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

9.96 kB

Total Files

15

Last publish

Collaborators

  • eliostruyf