WebDAV automount (Advaced Script)

Hey Folks,

New to the site and this is my first post, was wondering if we can find some AppleScript gurus out there to give us a hand with this little problem am facing…

At our school which is mostly a windows shop, we have decided to start deploying macs as they have become on high demand. so for our MacBook users I would like to be able to give them HTTP access to their shared folders via WebDAV as we have done with in the past with the windows notebook users.

My goal is to provide easy access to webdav and remove the need for the user to mount the drive from Finder.

My plan is to write an AppleScript to do the following

load the script at start using the startup item
ping the webdav server with an interval of every 15 seconds
once the server responds to the ping thus confirming internet connectivity this should trigger the following action

tell application “Finder”
mount volume “https://webdavserver.example.com
end tell

What do you guys think? can it be done? anyone have any ideas?

Let me know,

Kemo

Model: Unibody 17" MacBook Pro 2.63GHz, 8GB RAM, 256 SSD
AppleScript: AppleScript 2.1.2
Browser: Firefox 3.6.3
Operating System: Mac OS X (10.6)