Re: Simple apple script - Beginner Problem
Re: Simple apple script - Beginner Problem
- Subject: Re: Simple apple script - Beginner Problem
- From: James Bensley <email@hidden>
- Date: Wed, 15 Jul 2009 11:38:52 +0100
Hey list,
I have been totally foolish and realised I was using the 'print'
function within awk instead of 'printf' which solved my issues. Here
is a link to my AppleScripts in case anyone needs them or maybe to
look and laugh at my poor apple scripting abilities, if you smile
either way then I'm pleased ;)
So just as a round up there are two scrips;
Mouny My Server Folder - You must enter your Active Directory user
name and password, this will query AD via 'dscl' for the UNC path of
your home directory and mount it via SMB (We use this for our stand
alone Mac users so they can mount a network share and backup (sync)
their work to it or mount a group share etc
Unmount My Server Folder - As you can guess, you simply enter you
username, this will query Active Directory for your home directory and
unmount the matching volume so we don't dismount any other mounted
volumes (external drives, network shares etc)
Thanks to everyone for the help you have provided is is greatly
appreciated and I hope these help someone out!
Send Space URL: http://www.sendspace.com/file/i4minu
PasteBin URLs:
http://pastebin.com/f54e4ec40 - Mount My Server Folder
http://pastebin.com/f8e0d36a - Umount My Server Folder
Regards to all,
James ;)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V-
PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++
------END GEEK CODE BLOCK------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden