Shortcuts does not have assistive access
The key here, I think, is I am talking about a mac laptop computer, not an iPhone. It's running MacOS (Tahoe, and it's up to date). I am trying to run a shortcut that will automatically mount network disks and it seems to work, within the Shortcuts app, but when I save to Dock so I have have it run at start up it gives me an error, that to my admittedly limited knowledge, it something for iOS, not the mac. But the error is indeed on a mac.
I have tried the following:
Adding Shortcuts, Script Editor and Automator to Accessibility and switched them on
Saved the app and run it by clicking on the icon in the doc.
Deleted the icon from the dock and drug the app itself into login items
Searched EVERYWHERE in Security and Privacy for the app so I might switch something on - I didn't find it
Ran it on an older laptop (it ran fine)
Ran it on a newer desktop (it also ran fine)
I have no idea where to go from here. This is a completely new problem. I got the same problem from a similar script Applescript (saved as an applet). I created this from the gound up in Shortcuts. I have no idea what has gone wrong.
MacBook Pro 14″, macOS 26.1