Skip to content

ScriptingBridge integration #5

@frouaix

Description

@frouaix

Summary

Use Apple's ScriptingBridge framework for better typed access to specific apps, replacing or supplementing the current AppleScript template approach.

Details

  • Evaluate ScriptingBridge as a replacement for NSAppleScript-based execution in the Swift executor
  • ScriptingBridge provides compile-time type safety and better performance than interpreted AppleScript
  • Could be adopted incrementally, app by app
  • Requires generating .sdef-based header files for target apps
  • May not cover all apps equally well — some apps have better ScriptingBridge support than others

Affected files

  • packages/executor-swift/Sources/Executor/ — new ScriptingBridge-based modules
  • packages/executor-swift/Package.swift — framework dependency

Phase 23 item

From TODO.md

Phase 23: ScriptingBridge — Use ScriptingBridge for better typed access to specific apps

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions