Jump to content

Recommended Posts

Posted

Afternoon,

 

Just been writing a script to make an alias to the desktop and open two network locations.

 

tell application "finder" to make new alias file at (path to desktop folder) to ("Macintosh HD:Users:Shared:Music Store") 
tell application "finder" to open location ("smb://music/mtechshare")
tell application "finder" to open location ("smb://music/%username%")

 

The last two require auth against the share with AD username / password. Is there anywhere to specify these items from the initial login? So that the script will auth the user against the mtech share and then place there username into the second mount script so that it will mount there home folder onto the desktop?

 

Cheers guys n gals

Posted
so is it possible to get the script to place the currently logged in username into mount string? The idea is that each student / staff should be able to log onto the macs and hopefully if i get it to work this script will automatically mount the relevant drives. One of which is there own homes folder on a linux box.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...