Skip to content

Instantly share code, notes, and snippets.

View richie5um's full-sized avatar

Rich Somerfield richie5um

View GitHub Profile
name: Smz-GetDocx-CreateDocx
description: ''
host: WORD
api_set: {}
script:
content: >
$("#run").click(() => tryCatch(getDocumentAsCompressed));
// async function run() {
name: Smz-CustomXml-v4
description: ''
host: WORD
api_set: {}
script:
content: |
OfficeExtension.config.extendedErrorLogging = true;
$("#get-xml").click(() =>
tryCatch(() => {
name: References
description: ''
host: WORD
api_set: {}
script:
content: |
$("#check-fields").on("click", () => tryCatch(checkFields));
$("#get-fields").on("click", () => tryCatch(getFields));
$("#get-bookmarks").on("click", () => tryCatch(getBookmarks));