Skip to content

AppleScript support #2512

Description

@datlechin

Problem

TablePro has a URL scheme, an MCP server and a CLI, but no AppleScript dictionary, so it cannot take part in the automation other Mac apps use. Keyboard Maestro, Alfred and Shortcuts workflows have to fall back to the URL scheme, which is one-way and returns nothing.

Proposed solution

  • A scripting dictionary covering the objects that already exist: connections, windows, tabs, the active result.
  • Commands to open a connection, run a query and get its result back, open a table, and read the current selection.
  • Route everything through the existing safe mode and external-link gates. A script is an external caller and must not get a path around them.
  • sdef published so Script Editor's dictionary browser works.

Alternatives considered

The URL scheme, which can start something but never report back.

Related database type

N/A / General

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions