update-apple-note
Update Apple Note
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
note_name |
Yes | The name of the note in Apple Notes to update | Dale's Principles |
content_to_add |
Yes | The new content, suggestions, or enhancements to add | Add measurability and action items to each point |
update_mode |
No | append (add to existing content) or replace (overwrite entire body); defaults to append |
append |
Procedure
-
Ask for the note name if not provided
-
Retrieve the current note content:
tell application "Notes" get body of note "{{NOTE_NAME}}" end tell -
Prepare the new content, formatted with HTML for Notes rich text if needed
-
Update the note body:
tell application "Notes" set body of note "{{NOTE_NAME}}" to "{{NEW_CONTENT}}" end tellFor longer or complex updates, write the AppleScript to a temp file and run with
osascript {{SCRIPT_FILE}} -
Verify the update by retrieving and displaying the updated content
-
Report a summary of changes made
Notes
- Note names must match exactly as stored in Apple Notes (case-sensitive)
- Content can use HTML tags for rich text; plain text is also accepted
- Requires Apple Notes permissions for AppleScript access
Example
update the note with suggestions for improvement
add these action items to my Principles note in Apple Notes
append a summary section to my Meeting Notes note
replace the content of my Goals note with this updated version
edit my Projects note to include the new deadline
More from dalehurley/phpbot
desktop-control
Control the mouse, keyboard, and read screen content via accessibility. Use this skill when the user asks to click somewhere on screen, type text into an app, move the mouse, press keyboard shortcuts, read what's on screen, get the accessibility tree of the current window, automate desktop interactions, or control the computer.
39summarize-unread-emails
Retrieve and summarize all unread emails from your inbox, organized by category, sender, and date. Use this skill when the user asks to summarize unread emails, get an overview of unread messages, organize inbox emails, or review pending email communications. Provides a structured summary with categorization and timeline analysis.
20open-application
Open or launch applications on your computer by name. Use this skill when the user asks to open, launch, or start an application like Mail, Finder, Safari, Chrome, or any other installed macOS application. Works with both built-in and third-party applications.
10homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10csv-tools
Parse, query, filter, sort, transform, and summarize CSV and JSON data files. Use this skill when the user asks to view a CSV, filter data, get statistics from a data file, convert CSV to JSON or vice versa, sort data, or analyze tabular data.
9get-weather-forecast
Retrieve current weather conditions and multi-day forecasts for any location using the wttr.in API. Use this skill when the user asks for weather information, weather forecast, current conditions, temperature, or weather updates for a specific city or location. Provides detailed weather data including temperature, wind, precipitation, and visibility.
8