I wanted to build on the Mac Staff Home- dock shortcut by utilising WebDAV. This version is better because it allows you to use a single dock icon to connect to all your shares at once (as per your WebDAV setup). It also means the shares are available off campus.
You’ll need to change the webdav.eyks.com.au with your own WebDAV link.
# Author: Skye Moroney # Version: 2.6 # Created: 20150815 # About: Connect app for webdav # loop trying to connect until the volume is mounted repeat until (list disks) contains “webdav.eyks.com.au” try mount volume “https://webdav.eyks.com.au/” on error # graceful exit if something goes wrong or the connection is canceled return end try end repeat # open finder to the base of connected mount and set to column view tell application “Finder” activate # repeat, as script can execute so fast that it starts before mounting repeat # when mount available, run once – then exit the repeat loop if exists disk “webdav.eyks.com.au” then # open a Finder window and set to column view at webdav base make new Finder window to disk “webdav.eyks.com.au“ set current view of Finder window 1 to column view exit repeat end if end repeat end tell
As always: Use at your own risk.
Haven’t setup WebDAV on your servers?
Save yourself a bunch of time and effort and look into HTTP Commander. Despite what their website looks like it’s actually very good stuff. Quite a few Colleges use this, it’s great and the support people are good.
Connecting to WebDAV from iPads?
The standout in the field for a long time now has been Documents by Readdle. Look into it and you’ll quickly see why, the app is well designed and easy to use. Simple to setup with your WebDAV too. The support people here amazing.