Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

441 B
Raw Blame
import ApplicationServices

/// Bounds every Accessibility round-trip this process makes. The system
/// default is about six seconds; a busy target app would otherwise block the
/// main thread, and with it the keyboard event tap, for that long.
enum AccessibilityMessagingTimeout {
    static let seconds: Float = 2

    static func configure() {
        AXUIElementSetMessagingTimeout(AXUIElementCreateSystemWide(), self.seconds)
    }
}