I’m trying to write an Automator Workflow to reconnect macOS to some not-very-remote SMB shares (on a server beside the Mac). For some reason adding them to my login items doesn’t always work.
Using an old answer at:
https://apple.stackexchange.com/questions/3307/how-can-i-get-automator-to-mount-a-network-volume#answer-3308
I have two actions:
- Get Specified Servers, where I list the shares
- Connect to Servers
The problem is that if the share is already mounted, I get a “Connect to Servers failed” error, and the script exits without trying the next one.
Is there a way to test for the server first, or at least to ignore the error?
Asked by Manngo
(3713 rep)
May 26, 2024, 01:22 AM
Last activity: Jun 20, 2025, 08:00 AM
Last activity: Jun 20, 2025, 08:00 AM