Thank you for the referral to thread 854711. I understand that its answer covers both public APIs/entitlements and a supported Store architecture for the described foreign-window operations.
I have one narrower question about a published standard access group not discussed there. On macOS 27.0.1 (26A434), the signed System Events dictionary declares com.apple.systemevents.window.position with read access on window collections and read/write access on window position and size.
A disposable universal sandboxed client targeting macOS 13 used:
<key>com.apple.security.app-sandbox</key><true/>
<key>com.apple.security.scripting-targets</key>
<dict>
<key>com.apple.systemevents</key>
<array><string>com.apple.systemevents.window.position</string></array>
</dict>It also carried the separate Hardened Runtime Apple Events entitlement and usage description. It used no temporary exception, private API or direct AX geometry fallback. It was an ad-hoc engineering probe, not a Store-provisioned product.
After explicit Automation consent, no-prompt authorization queries for get and set returned 0. This read returned -10004, “A privilege violation occurred”:
on readGeometry()
with timeout of 5 seconds
tell application id "com.apple.systemevents"
set w to window 1 of process "NativeTarget"
return (position of w) & (size of w)
end tell
end timeout
end readGeometryThe target was a disposable single-window AppKit app. The same frozen client failed identically both before and after its Accessibility trust became true. No geometry setter ran. Its temporary Accessibility access is now revoked.
Does this standard access group support such foreign-window property access from a sandboxed app? If so, does the expression above request something outside the group, and which documented property/object-specifier form, OS availability and signing/provisioning conditions apply? Separate property-only position and size reads have not yet been tested.
The actual product, now named Tilra, additionally needs exact focused/dragged-window selection and stable same-window Restore, alongside menu commands, hotkeys, all layouts and optional edge snapping. Windows remain independent. If the group supports only narrow geometry access, does your earlier negative answer still apply to that full contract? We retain macOS 13+, Intel and Apple silicon and mandatory Mac App Store distribution.
I am seeking technical clarification of this named group, separately from App Review policy. I am not treating its dictionary declaration, a potential successful read, or user consent as proof of full supported functionality or Store eligibility.
Topic:
App & System Services
SubTopic:
Core OS
Tags: