## Save this as an applescript application with the "always open" checkbox checked. on idle tell application "Finder" set isConnected1 to disk "MediaAFP" exists set isConnected2 to disk "MediaNFS" exists set isConnected3 to disk "MediaSMB" exists end tell ## mount an AFP share if isConnected1 = false then try mount volume "MediaAFP" on server "192.168.0.100" end try end if ## mount an NFS share if isConnected2 = false then try mount volume "nfs://192.168.0.101/export/MediaNFS" end try end if ## mount an SMB share if isConnected3 = false then try mount volume "smb://username:[email protected]/MediaSMB" end try end if ## repeat the loop every 5 seconds; adjust as desired return 5 end idle