Since macOS 27 and macOS 27.0.1 the Services that I have created using Automator to perform specific tasks are no longer working because WorkflowServiceRunner does not have Accessibility access.
For example, my Service in Automator using AppleScript to invoke the "Move message to" submenu in Mail:
on run
tell application "System Events"
-- macOS 27:
click menu button 2 of toolbar 1 of window 1 of application process "Mail"
end tell
end run
This runs fine when executed from Automator but when invoked as a Service it produces an error:
Granting App Management access to WorkflowServiceRunner and/or my Service script does not resolve the issue.
Any tips on how to proceed?
Ernst ***
[Edited by Moderator]