How to run AppleScript in macOS
Issue #223
Surround script by single quotes
swift
let script =
"""
tell application "XcodeWay"
activate
end tell
"""
let …
Written by
Issue #223
let script =
"""
tell application "XcodeWay"
activate
end tell
"""
let …Issue #89
Today I find that AppleScript allows us to import Foundation, with that we have lots of power, including NSString. See my script
use scripting …Issue #88
I ’ve been using Apple Script to for my Finder extension FinderGo. Because of sandboxing, all scripts must lie inside Application Scripts folder.
Today, I was rewriting my Xcode extension XcodeWay. Before Xcode 8, we could use Xcode …