Jump to content

IvanV

Member
  • Posts

    3
  • Joined

  • Last visited

IvanV's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. In the debug of the workflow. Tried to disable/re-enable access, no joy. The whole log: [10:12:26.468] Logging Started... [10:12:28.696] ClearALL[Keyword] Processing complete [10:12:28.698] ClearALL[Keyword] Passing output '' to Run NSAppleScript [10:12:28.895] ERROR: ClearALL[Run NSAppleScript] { NSAppleScriptErrorAppName = "System Events"; NSAppleScriptErrorBriefMessage = "Alfred is not allowed assistive access."; NSAppleScriptErrorMessage = "System Events got an error: Alfred is not allowed assistive access."; NSAppleScriptErrorNumber = "-25211"; NSAppleScriptErrorRange = "NSRange: {113, 100}"; }
  2. Hi guys. I'm on Monterey, running the script below (close notifications), Alfred 4 Accessibility access is allowed. Getting the "Alfred is not allowed assistive access". Why? on alfred_script(q) tell application "System Events" tell process "NotificationCenter" set theseWindows to every window whose subrole is "AXNotificationCenterAlert" or subrole is "AXNotificationCenterBanner" repeat with i from 1 to number of items in theseWindows set this_item to item i of theseWindows try click button 1 of this_item on error my alfred_script(q) end try end repeat end tell end tell end alfred_script
×
×
  • Create New...