Skip to content

Add Shortcuts actions to the Mac app #3628

Closed

Description

@datlechin

Problem

The Mac app has no Shortcuts actions. The iOS app has three, Open Connection, Add Row to Table and Add Rows to Table (apple/TableProMobile/TableProMobile/Intents/TableProShortcuts.swift:3), and integrations/ios-shortcuts.mdx says: "This is iOS only. On macOS, use the URL scheme and MCP." No file under apple/TablePro imports AppIntents.

On a Mac that leaves Shortcuts, Spotlight and Siri with nothing to offer. A shortcut that opens a connection, or pulls a number out of a database for the next action, has to wrap AppleScript in a Run AppleScript step, and the URL scheme only opens a tab: "Nothing executes, the user runs it from the editor" (developers/url-scheme.mdx).

Proposed solution

  • App Intents in the Mac app: Open Connection, Run Query (returns the rows to the next action as dictionaries keyed by column, or as CSV or JSON text), Add Row to Table and Add Rows to Table, matching the iOS pair.
  • Connection, database and table parameters are entities picked from lists, as on iOS.
  • Every action clears the same gates as AppleScript (developers/applescript.mdx, What a script may do): the connection's External Clients level and Safe Mode. A Blocked connection is not listed, a Read only one refuses writes, and a drop or truncate still asks for confirmation.
  • Statements a shortcut runs go to the history drawer under their own source and to the execution audit log.
  • Share entity and payload code with apple/TableProMobile/TableProMobile/Intents/ where it compiles on both.
  • Update integrations/ios-shortcuts.mdx.

Done means a shortcut on a Mac runs SELECT count(*) FROM orders against a saved connection and hands the number to the next action, and the same shortcut fails with the reason on a Blocked connection.

Alternatives considered

A Run AppleScript step that calls run query, or an MCP client.

Platform

macOS

Related database type

N/A / General

Activity

  1. added
    enhancement
    platform-macos
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplatform-macos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions