Skip to content

Instantly share code, notes, and snippets.

View JuaneloJuanelo's full-sized avatar

Juan Balmori JuaneloJuanelo

View GitHub Profile
@JuaneloJuanelo
JuaneloJuanelo / InsertTable (Office Add-in Playground).json
Created November 21, 2016 18:56
InsertTable - Shared with Office Add-in Playground
{
"name": "InsertTable",
"playgroundVersion": 1
}
@JuaneloJuanelo
JuaneloJuanelo / Get built-in document properties..yaml
Created June 19, 2017 17:48
Shows how to get built-in document properties. - Shared with Script Lab
name: Get built-in document properties.
description: Shows how to get built-in document properties.
host: WORD
api_set: {}
script:
content: |+
$("#run").click(getProperties);
function getProperties() {
Word.run(function (context) {
@JuaneloJuanelo
JuaneloJuanelo / Setting Example.yaml
Created June 21, 2017 22:13
Shared with Script Lab
name: Setting Example
description: ''
host: WORD
api_set: {}
script:
content: |
$("#run").click(createSetting);
$("#retreive").click(retrieveSetting);
@JuaneloJuanelo
JuaneloJuanelo / Setting Example.yaml
Created June 21, 2017 22:14
Shared with Script Lab
name: Setting Example
description: ''
author: JuaneloJuanelo
host: WORD
api_set: {}
script:
content: |
$("#run").click(createSetting);
$("#retreive").click(retrieveSetting);
@JuaneloJuanelo
JuaneloJuanelo / Blank snippet - 1.yaml
Created July 18, 2017 14:51
Shared with Script Lab
name: Blank snippet - 1
description: ''
host: WORD
api_set: {}
script:
content: |
$("#run").click(run)
async function run() {
Word.run(function (context) {
@JuaneloJuanelo
JuaneloJuanelo / Juans startng.yaml
Created July 21, 2017 16:53
Shared with Script Lab
name: Juans startng
description: ''
host: WORD
api_set: {}
script:
content: |+
$("#run").click(run);
function run() {
Word.run(function (context) {
@JuaneloJuanelo
JuaneloJuanelo / Juans startng - 1.yaml
Created July 21, 2017 16:54
Shared with Script Lab
name: Juans startng - 1
description: ''
author: JuaneloJuanelo
host: WORD
api_set: {}
script:
content: |+
$("#run").click(run);
function run() {
name: get next word after the current sentence
description: ''
author: JuaneloJuanelo
host: WORD
api_set: {}
script:
content: |+
$("#run").click(run);
function run() {
@JuaneloJuanelo
JuaneloJuanelo / create a binding on a selection .yaml
Created August 8, 2017 18:13
create a binding on a selection - Shared with Script Lab
name: 'create a binding on a selection '
description: 'create a binding on a selection '
author: JuaneloJuanelo
host: WORD
api_set: {}
script:
content: |+
$("#run").click(run);
function run() {
@JuaneloJuanelo
JuaneloJuanelo / Insert header.yaml
Last active July 16, 2019 04:54
Demonstrates how to insert a header in the document. - Shared with Script Lab
name: Insert header
description: Demonstrates how to insert a header in the document.
author: JuaneloJuanelo
host: WORD
api_set: {}
script:
content: |-
$("#run").click(run);
$("#run").click(() => tryCatch(run));