Script Kit Logo
Script Kit
by John Lindquist
Vercel OSS Program

Scripts by okeefj22

Add Espanso Trigger

okeefj22's avatar
Jacob O'Keeffe
// Name: Add Espanso Trigger // Description: Adds a new Espanso trigger using selected text as default and prompts to confirm replacement. // Author: okeefj22 // GitHub: okeefj22 import "@johnlindquist/kit" import YAML from "yaml" type EspansoDoc = { matches?: { trigger: string replace: string }[] } const findEspansoDir = async (): Promise<string> => { const candidates: string[] = [] if (isMac) candidates.push(home("Library", "Application Support", "espanso")) if (isLinux) candidates.push(home(".config", "espanso")) if (isWin) {

Export Outlook Meetings to Mar

okeefj22's avatar
Jacob O'Keeffe
// Name: Export Outlook Meetings to Markdown // Description: Fetch your Outlook calendar events via Microsoft Graph and save them as a Markdown file. // Author: okeefj22 // GitHub: okeefj22 import "@johnlindquist/kit" import { PublicClientApplication, LogLevel, type DeviceCodeRequest } from "@azure/msal-node" type GraphEvent = { subject?: string bodyPreview?: string start: { dateTime: string; timeZone: string } end: { dateTime: string; timeZone: string } location?: { displayName?: string } organizer?: { emailAddress?: { name?: string; address?: string } } attendees?: { emailAddress: { name?: string; address?: string }; type?: string }[] isOnlineMeeting?: boolean onlineMeeting?: { joinUrl?: string } webLink?: string }