“Swift can be used as a scripting language … it’s possible that Apple will anoint it as the Mac’s scripting language of choice at some point in the future.” Posted on June 25, 2019 by jgordon Link. Replace AppleScript.