All Projects → hhas → Swift-AppleScriptObjC

hhas / Swift-AppleScriptObjC

Licence: other
How to call AppleScript handlers from Swift via AppleScript-ObjC bridge.

Programming Languages

swift
15916 projects
applescript
352 projects

Projects that are alternatives of or similar to Swift-AppleScriptObjC

Tzupdate
Set the system timezone based on IP geolocation
Stars: ✭ 130 (+188.89%)
Mutual labels:  public-domain
Yturl
YouTube videos on the command line
Stars: ✭ 218 (+384.44%)
Mutual labels:  public-domain
dproofreaders
Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
Stars: ✭ 35 (-22.22%)
Mutual labels:  public-domain
Decentralized Id.github.io
Self Sovereign Identity Curated
Stars: ✭ 135 (+200%)
Mutual labels:  public-domain
Flags
⛳ Simple, extensible, header-only C++17 argument parser released into the public domain.
Stars: ✭ 187 (+315.56%)
Mutual labels:  public-domain
cinedantan
🎥 🍿 Streaming Public domain movies
Stars: ✭ 52 (+15.56%)
Mutual labels:  public-domain
Snippets
(Hopefully) useful code snippets and header-only libs
Stars: ✭ 123 (+173.33%)
Mutual labels:  public-domain
AppleScriptive
Functional AppleScripts operating out of Keyboard Maestro, Alfred and Automator to optimise productivity.
Stars: ✭ 44 (-2.22%)
Mutual labels:  applescriptobjectivec
Srt
A simple library for parsing, modifying, and composing SRT files.
Stars: ✭ 210 (+366.67%)
Mutual labels:  public-domain
spaceholder
🌅 Download placeholder images from public domain sources blazingly fast
Stars: ✭ 24 (-46.67%)
Mutual labels:  public-domain
Images
Public domain photos of Members of the United States Congress
Stars: ✭ 154 (+242.22%)
Mutual labels:  public-domain
Comunidades En Telegram
Listado de Chats de Comunidades en Telegram
Stars: ✭ 178 (+295.56%)
Mutual labels:  public-domain
pdicons
The Noun Project Public Domain search
Stars: ✭ 21 (-53.33%)
Mutual labels:  public-domain
Borderless Window
A minimal borderless window with the Windows API
Stars: ✭ 131 (+191.11%)
Mutual labels:  public-domain
html3dutil
A public domain JavaScript library to ease developing HTML 3D apps
Stars: ✭ 29 (-35.56%)
Mutual labels:  public-domain
Rocket
rocket - Fast single header signal/slots library for C++
Stars: ✭ 124 (+175.56%)
Mutual labels:  public-domain
catalog of copyright entries project
NYPL Project to transcribe and parse pages from the US Catalog of Copyright Entries
Stars: ✭ 52 (+15.56%)
Mutual labels:  public-domain
smtp-client
SMTP Client Library in C
Stars: ✭ 68 (+51.11%)
Mutual labels:  public-domain
sun
Simple library and application that shows sunset and sunrise based on your latitude,longitude
Stars: ✭ 23 (-48.89%)
Mutual labels:  public-domain
FWK
💎 3D game framework in C, with Luajit bindings now.
Stars: ✭ 423 (+840%)
Mutual labels:  public-domain
README

A simple "remote control" for Music.app which demonstrates how to call AppleScript via the AppleScript-ObjC (ASOC) bridge within a Swift-Cocoa app. 

Caution: 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:

- The Plist.info file must contain an "NSAppleEventsUsageDescription" entry.

- If Hardened Runtime is enabled, the Apple Events exception in Targets > Signing & Capabilities must be selected.

- If sandboxing is enabled, the appropriate "com.apple.Music.library..." entitlements must be declared.

- The user grants the app Authorization to control Music.app when first prompted by macOS.

This code is released into the public domain.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].