Skip to content

Instantly share code, notes, and snippets.

@danielgwilson
danielgwilson / Basic Operational Call - 1.EXCEL.yaml
Created April 22, 2019 23:15
Executes a basic call using the Operational API
name: Basic Operational Call - 1
description: Executes a basic call using the Operational API
host: EXCEL
api_set: {}
script:
content: |
// Get the Operational workbook
// In a true NPM world, this will be:
// import Excel from 'excel';
// const { workbook } = new Excel();
@danielgwilson
danielgwilson / Basic Operational Call - 1.EXCEL.yaml
Created April 22, 2019 22:38
Executes a basic call using the Operational API
name: Basic Operational Call - 1
description: Executes a basic call using the Operational API
host: EXCEL
api_set: {}
script:
content: |
// Get the Operational workbook
// In a true NPM world, this will be:
// import Excel from 'excel';
// const { workbook } = new Excel();
@danielgwilson
danielgwilson / [ScriptLab] Dialog promptBeforeOpen test.yaml
Last active January 16, 2019 20:36
Performs a basic Word API call using TypeScript. - Shared with Script Lab
name: Basic API call (TypeScript)
description: Performs a basic Word API call using TypeScript.
author: danielgwilson
host: WORD
api_set: {}
script:
content: |-
$("#run").click(() => tryCatch(run));
$("#runWith").click(() => tryCatch(runWith));