Skip to content

Instantly share code, notes, and snippets.

View libjosep's full-sized avatar

LJP libjosep

  • Oracle
View GitHub Profile
@libjosep
libjosep / FieldsTest.WORD.yaml
Created March 1, 2023 12:12
Performs a basic Word API call using TypeScript.
name: FieldsTest
description: Performs a basic Word API call using TypeScript.
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
await Word.run(async (context) => {
name: AddingListingContentControls
description: ''
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
$("#run2").click(() => tryCatch(listCC));
async function run() {
@libjosep
libjosep / insert_field_formatting.WORD.yaml
Last active April 27, 2023 03:43
Create a new snippet from a blank template.
name: insert_field_formatting
description: Create a new snippet from a blank template.
host: WORD
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
$("#run2").click(() => tryCatch(run2));
$("#run3").click(() => tryCatch(run3));