There have been many self-proclaimed âalternatives to AppleScriptâ in the past.
Itâs hard to say for or against dealing with Swift Scripting in MacScripter.net.
I am reluctant to suddenly put AS and Swift, which are like âwater and oilâ, next to each other. Swift, which uses a lot of symbols, and AppleScript, which uses as few symbols as possible, have different styles in the first place. Itâs too different.
We propose the idea of setting up a âbuffer zoneâ together, such as a BBS that summarizes âknow-how for calling Swift from ASâ (on the Xcode Project) and a BBS that summarizes âknow-how for calling AS from Swiftâ.
From here, I will analyze my own past âalternative to AppleScriptâ.
Many of the self-proclaimed âalternatives to AppleScriptâ were intended to replace a small part of AppleScriptâs processing system, and were optimized for a very limited purpose.
And history has been repeating itself, exhausted by the size of the AppleScript ecosystem and the breadth of the area it covers, and leaving on its own.
(1) Multilingual support
Many of them only worked in an English environment and were not verified. In particular, many of Hasâs solutions did not work in the Japanese environment. If it doesnât work in a Japanese environment, it wonât work in a Chinese or Korean environment.
(2) A large number of runtime environments
There are 11 AppleScript runtime environments by default in macOS, including Script Editor, Script Menu, Switch Control, osascript, Folder Action, and more. Whether or not to include the applicationâs built-in menus (Music.app, various text editors), calls from macro languages (FileMaker Pro, MS-Office), and various executable tools. Without such a âbig pictureâ, if you are told that it is an âalternative to AppleScriptâ, you donât really know what you want to do. In fact, I even get the impression that people who donât know the whole picture are dabbling in âAppleScript alternativesâ to meet a very small number of language specifications.
(3) Poor user character
People who claim to be âAppleScript replacementsâ have one thing in common: they canât behave well for some reason.
And the content that makes you happy that âitâs so easy to do!â is very rudimentary. Then, based on that simple example, they tend to start fights with the original residents.
Users who claim to be âBetter AppleScriptâ or âAppleScript replacementâ are more likely to start a fight with AppleScript users, and probably waste time.
By the way, this is the fourth attempt to âreplace AppleScript with Swiftâ as far as I know.