SwiftAutomation
SwiftAutomation copied to clipboard
High-level Apple event framework for Swift. Currently implements client-side; server-side TBD.
A couple of tweaks to handle AppleScript typeLongDateTime: 1. unpackAsDate calls unpackAsInteger, which does not handle typeLongDateTime. Add to unpackAsInteger: ``` case typeLongDateTime: result = T(exactly: Int64(bigEndian: try decodeFixedWidthValue(descriptor.data))) ```...
Finder has a "comment" property, which can be seen in Get Info for a folder, for example, or in SwiftAutomation: ```print("comment: \"\(try finder.folders["TEMP"].comment.get())\"")``` If there is a comment, the descriptorType...