diff --git a/triggers/open-vs-code/README.md b/triggers/open-vs-code/README.md new file mode 100644 index 0000000..a25b30c --- /dev/null +++ b/triggers/open-vs-code/README.md @@ -0,0 +1,3 @@ +# Open Visual Studio Code + +This trigger will launch Visual Studio Code when a call is connected. diff --git a/triggers/open-vs-code/assets/icon.png b/triggers/open-vs-code/assets/icon.png new file mode 100644 index 0000000..7fa8235 Binary files /dev/null and b/triggers/open-vs-code/assets/icon.png differ diff --git a/triggers/open-vs-code/call-connected b/triggers/open-vs-code/call-connected new file mode 100755 index 0000000..13c4e01 --- /dev/null +++ b/triggers/open-vs-code/call-connected @@ -0,0 +1,3 @@ +#!/usr/bin/env osascript + +tell application "Visual Studio Code" to activate diff --git a/triggers/open-vs-code/config.json b/triggers/open-vs-code/config.json new file mode 100644 index 0000000..cbae125 --- /dev/null +++ b/triggers/open-vs-code/config.json @@ -0,0 +1,6 @@ +{ + "name": "open-vs-code", + "description": "Open Visual Studio Code when a call starts.", + "platforms": ["macos"], + "language": "applescript" +}