Initial commit
This commit is contained in:
commit
d5c932d8e1
710 changed files with 50282 additions and 0 deletions
6
.tmp_axprobe/axon.swift
Normal file
6
.tmp_axprobe/axon.swift
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import Cocoa
|
||||
let pid = pid_t(CommandLine.arguments[1])!
|
||||
let app = AXUIElementCreateApplication(pid)
|
||||
let t: CFTypeRef = kCFBooleanTrue!
|
||||
let r = AXUIElementSetAttributeValue(app, "AXEnhancedUserInterface" as CFString, t)
|
||||
print("set AXEnhancedUserInterface: \(r.rawValue)")
|
||||
Loading…
Reference in a new issue