Skip to content

Instantly share code, notes, and snippets.

@thomas-idgis
thomas-idgis / Basic API call (JavaScript) (3).WORD.yaml
Created August 24, 2021 09:36
Performs a basic Word API call using plain JavaScript & Promises.
name: Basic API call (JavaScript) (3)
description: Performs a basic Word API call using plain JavaScript & Promises.
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
function run() {
return Word.run(function(context) {