Skip to content

Instantly share code, notes, and snippets.

View Rick-Kirkham's full-sized avatar

Rick Kirkham Rick-Kirkham

View GitHub Profile
@Rick-Kirkham
Rick-Kirkham / Insert shape, line, and textbox to PPT.POWERPOINT.yaml
Last active October 7, 2021 15:39
Inserts slides from another PowerPoint file into the current presentation.
name: 'Insert shape, line, and textbox to PPT'
description: Inserts slides from another PowerPoint file into the current presentation.
host: POWERPOINT
api_set: {}
script:
content: |
$("#createHexagon").click(() => tryCatch(createHexagon));
$("#createLine").click(() => tryCatch(createLine));
$("#createTextBox").click(() => tryCatch(createTextBox));
$("#createShapeWithText").click(() => tryCatch(createShapeWithText));
@Rick-Kirkham
Rick-Kirkham / Basic API call (TypeScript) (1).EXCEL.yaml
Created January 12, 2021 02:35
Performs a basic Excel API call using TypeScript.
name: Basic API call (TypeScript) (1)
description: Performs a basic Excel API call using TypeScript.
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
async function run() {
const contextualTabJSON = `{
@Rick-Kirkham
Rick-Kirkham / Delete slide.POWERPOINT.yaml
Created December 3, 2020 02:33
Deletes a slide from the presentation
name: Delete slide
description: Deletes a slide from the presentation
host: POWERPOINT
api_set: {}
script:
content: >
$("#insert-all-slides").click(() => tryCatch(insertAllSlides));
$("#insert-after-target-slide").click(() =>
tryCatch(insertAfterSelectedSlide));
@Rick-Kirkham
Rick-Kirkham / Insert slides from other presentation.POWERPOINT.yaml
Last active December 4, 2020 22:57
Inserts slides from another PowerPoint file into the current presentation.
name: Insert slides from other presentation
description: Inserts slides from another PowerPoint file into the current presentation.
host: POWERPOINT
api_set: {}
script:
content: >
$("#insert-all-slides").click(() => tryCatch(insertAllSlides));
$("#insert-after-target-slide").click(() =>
tryCatch(insertAfterSelectedSlide));
@Rick-Kirkham
Rick-Kirkham / test.html
Created June 10, 2019 20:55
Hello World Html
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@Rick-Kirkham
Rick-Kirkham / test.md
Created June 10, 2019 20:54
Hello World Markdown

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}
name: Use sheet.findAll
description: ''
host: EXCEL
api_set: {}
script:
content: |
$("#run").click(() => tryCatch(run));
function run() {
return Excel.run(function (context) {
name: Op Model Study - Task 6 Ricky
description: ''
host: EXCEL
api_set: {}
script:
content: >
// Get the Operational workbook
// In a true NPM world, this will be:
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:
name: Usability Study Task 5 Ricky
description: ''
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();