A sophisticated macOS framework for real-time detection and analysis of application window states, specifically focused on identifying applications operating in full-screen or maximized viewport configurations.
- 🔬 High-precision window state detection
- ⚙️ Configurable detection parameters
- 🎯 Advanced process filtering capabilities
- 📊 Comprehensive application metrics
- 🪟 Real-time window analysis
Add the following dependency to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/TheBoredTeam/MacroVisionKit.git", from: "0.0.0")
]
import MacroVisionKit
// Initialize the detector
let detector = MacroVisionKit.shared
let fullscreenApps = detector.detectFullscreenApps()
// Process detection results
fullscreenApps.forEach { appInfo in
print(appInfo.debugDescription)
}
// Configure detection parameters
var config = MacroVisionKit.Configuration()
config.sizeTolerance = 0.15 // 15% tolerance threshold
config.includeSystemApps = true
// Apply configuration
MacroVisionKit.shared.configuration = config
// Enable diagnostic output for detailed analysis
let fullscreenApps = detector.detectFullscreenApps(debug: true)
- macOS 10.15 or later
- Swift 5.0 or later
This project is licensed under the MIT License - see the LICENSE file for details.
Created by github.com/theboringhumane
Contributions are welcome! Please feel free to submit a Pull Request.