Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hhas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
hhas
4y ago
> Anyone interested in learning AppleScript can search it online or in their documentation, they're not going to distill the full scope and usage for AppleScript for every corner of the operating system where it can be utilized. …In
2.
▲
by
hhas
4y ago
To execute a Python script as a Mail rule action? Horrible. You need to write an AppleScript which calls `do shell script` to run the Python script, passing data to the Python script via argv or temp file (`do shell script` doesn’t support
3.
▲
by
hhas
4y ago
Notes: 1. Apple Mail has had this feature for the last 20 years . If macOS users to whom that feature is of interest are only now realizing it exists, this speaks volumes for Apple’s documentation and marketing. 2. The page says you can us
4.
▲
by
hhas
4y ago
Yeah, that page’s .css import is broken (404). The page should look more like this: http://www.macosxautomation.com/applescript/firsttutorial/02... That site is Sal Soghoian’s, and my own opinion of the man’s wo
5.
▲
by
hhas
4y ago
No. Cross-platform Siri [Shortcuts] plus App Extensions and App Intents will. That’s where Apple sees the future of end-user automation now: providing 1% of the power to 1000× (it hopes) more customers. Will Apple’s new strategy actually wo
6.
▲
by
hhas
4y ago
If you really want to script macOS apps using JavaScript, try nodeautomation: https://www.npmjs.com/package/nodeautomation JXA is buggy and crippled, with abysmal documentation and zero community or official support. n
7.
▲
by
hhas
4y ago
AppleScript’s dialects trick was clever, but many app developers didn’t have budget to localize their GUIs, never mind their scripting interfaces as well. Nowadays, with automated translation tools fast improving, localizable scripting lang
8.
▲
by
hhas
4y ago
> On the minus side, every application and system service had to implement its own object-relational schema, and there was little support for doing that. This was true in classic Mac OS. ObjectSupportLib provided some building blocks but
9.
▲
by
hhas
4y ago
> AppleScript is an amazing facility and undervalued strength of macOS. True and false. Apple event IPC is pure awesome. The AppleScript language is a dumpster fire. AppleScript remains because Apple’s own alternatives, JavaScript for Au