     
     case appleScript
     case shellScript
-    case unknown
     
 }
 

    // MARK: Public Methods
    
    /// Create a descriptor, initialized according to the specified information.
    init(url: URL, name: String, type: ScriptingFileType, shortcut: Shortcut = Shortcut.none, eventTypes: [ScriptingEventType] = [], ordering: Int?) {
        self.url = url
        self.name = name
        self.type = type

        
        // Extract from URL
        
        let type = ScriptDescriptor.extensions.first { $0.value.contains(url.pathExtension) }?.key
        
        var name = url.deletingPathExtension().lastPathComponent
        
