Mac Thread, set apple script to use "logged in user" credentials in Technical; I have a script that works flawlessly to mount a needed drive & unmount the drive after a set amount ...
6th October 2010, 08:34 PM #1
set apple script to use "logged in user" credentials
I have a script that works flawlessly to mount a needed drive & unmount the drive after a set amount of time on login but I need the scrip to use the logged in user credentials. I don't want to put in the user password into the script as I want the user/password of the user logged in to mount the share. All is fine if I can find a way to have the AppleScript to use this info.
6th October 2010, 09:49 PM #2
NM ... figured it out. Had to run "set MyName to do shell script "whoami"
By NorthernNoel in forum Windows 7
Last Post: 3rd July 2012, 02:37 PM
By RichCowell in forum Windows
Last Post: 18th November 2011, 04:36 PM
By albertwt in forum Windows
Last Post: 29th March 2010, 02:01 PM
By CPLTD in forum Our Advertisers
Last Post: 23rd October 2009, 02:20 PM
By John_Howarth in forum MIS Systems
Last Post: 12th October 2008, 09:33 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)