diff --git a/Mac/Scriptability/NSApplication+Scriptability.swift b/Mac/Scriptability/NSApplication+Scriptability.swift index a7e181009..14ad11ecb 100644 --- a/Mac/Scriptability/NSApplication+Scriptability.swift +++ b/Mac/Scriptability/NSApplication+Scriptability.swift @@ -62,7 +62,7 @@ extension NSApplication : ScriptingObjectContainer { @objc(valueInAccountsWithUniqueID:) func valueInAccounts(withUniqueID id:String) -> ScriptableAccount? { - let accounts = AccountManager.shared.activeAccounts + let accounts = AccountManager.shared.accounts guard let account = accounts.first(where:{$0.accountID == id}) else { return nil } return ScriptableAccount(account) }