{"id":13995186,"url":"https://github.com/hhas/Swift-AppleScriptObjC","last_synced_at":"2025-07-22T21:32:17.528Z","repository":{"id":55401986,"uuid":"137824595","full_name":"hhas/Swift-AppleScriptObjC","owner":"hhas","description":"How to call AppleScript handlers from Swift via AppleScript-ObjC bridge.","archived":false,"fork":false,"pushed_at":"2022-01-05T12:50:10.000Z","size":20,"stargazers_count":65,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-10T14:18:33.437Z","etag":null,"topics":["applescript","applescriptobjectivec","public-domain","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hhas.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-19T01:24:05.000Z","updated_at":"2024-08-05T23:24:19.000Z","dependencies_parsed_at":"2022-08-14T23:30:48.491Z","dependency_job_id":null,"html_url":"https://github.com/hhas/Swift-AppleScriptObjC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhas%2FSwift-AppleScriptObjC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhas%2FSwift-AppleScriptObjC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhas%2FSwift-AppleScriptObjC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhas%2FSwift-AppleScriptObjC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhas","download_url":"https://codeload.github.com/hhas/Swift-AppleScriptObjC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227177804,"owners_count":17743170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applescript","applescriptobjectivec","public-domain","swift"],"created_at":"2024-08-09T14:03:17.613Z","updated_at":"2024-11-29T17:31:10.041Z","avatar_url":"https://github.com/hhas.png","language":"Swift","readme":"README\n\nA simple \"remote control\" for Music.app which demonstrates how to call AppleScript via the AppleScript-ObjC (ASOC) bridge within a Swift-Cocoa app. \n\nCaution: The AppleScript code lacks detailed error reporting and the Swift code's error handling is minimal. The app will fail *silently* if the following requirements are not met:\n\n- The Plist.info file must contain an \"NSAppleEventsUsageDescription\" entry.\n\n- If Hardened Runtime is enabled, the Apple Events exception in Targets \u003e Signing \u0026 Capabilities must be selected.\n\n- If sandboxing is enabled, the appropriate \"com.apple.Music.library...\" entitlements must be declared.\n\n- The user grants the app Authorization to control Music.app when first prompted by macOS.\n\nThis code is released into the public domain.\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhas%2FSwift-AppleScriptObjC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhas%2FSwift-AppleScriptObjC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhas%2FSwift-AppleScriptObjC/lists"}