+ Post New Thread
Results 1 to 2 of 2
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 ...
  1. #1
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    19

    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.

    Thanks,


  2. #2
    Carter's Avatar
    Join Date
    Sep 2010
    Location
    Canada
    Posts
    269
    Thank Post
    10
    Thanked 66 Times in 41 Posts
    Rep Power
    19
    NM ... figured it out. Had to run "set MyName to do shell script "whoami"


SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 3rd July 2012, 01:37 PM
  2. Replies: 4
    Last Post: 18th November 2011, 03:36 PM
  3. Replies: 3
    Last Post: 29th March 2010, 01:01 PM
  4. Computer Products ltd "Upsetting The APPLE Cart"
    By CPLTD in forum Our Advertisers
    Replies: 5
    Last Post: 23rd October 2009, 01:20 PM
  5. Replies: 7
    Last Post: 12th October 2008, 08:33 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •