applescript (hair is coming off)

Discussion in 'Mac OS X Server, Xserve, and Networking' started by sakin4life, Jun 15, 2011.

  1. macrumors newbie

    Joined:
    May 25, 2011
    #1
    Guys,

    Please, I need someone to help me with this.......I'm relatively new to applescript.

    I have an AD environment where each user have its network folder mapped once logged in. However, I want a similar thing for mac users. Now below is the script I have written, which works for one user....how can i make it work for all the users in AD.


    set username to James

    tell application "Finder"

    try

    mount volume "smb://ip_address/share_name/James

    end try

    end tell.

    Someone help, my hair is coming off gradually......thanks.
     
  2. macrumors newbie

    Joined:
    Jun 15, 2011
    #2

Share This Page