Set the new_text to (the new_text & this_char) as string Set the new_text to (the new_text & character x of the source_string) as string Set x to the offset of this_char in the comparison_string Set the source_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Set the comparison_string to "abcdefghijklmnopqrstuvwxyz" Set the source_string to "abcdefghijklmnopqrstuvwxyz" Set the comparison_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Set AppleScript's text item delimiters to "" Set AppleScript's text item delimiters to the replacement_string Set the item_list to every text item of this_text
Set AppleScript's text item delimiters to the search_string On replace_chars(this_text, search_string, replacement_string)
read /Users/" & loggedInUser & " | grep OriginalNFSHomeDirectory | awk ''"ĭo shell script "defaults write /Users/" & loggedInUser & "/Library/Preferences/ UseKerberos -bool true"ĭo shell script "defaults write /Users/" & loggedInUser & "/Library/Preferences/ UserLogonName " & kerberosIDĭo shell script "defaults write /Users/" & loggedInUser & "/Library/Preferences/ " & quoted form of lyncPLISTSIP & " -dict ArchiveAutomatically -bool true PictureView -bool true SaveConversation -bool true ShowSaveReminder -bool false" read /Users/" & loggedInUser & " | awk '/^OriginalNodeName:/,/^Password:/' | head -2 | tail -1 | cut -c 2-" read /Users/" & loggedInUser & " | ?grep UniqueID | cut -c 11-" Set accountType to do shell script "dscl. Set loggedInUser to do shell script "whoami" Incidentally, where did you find the "acceptedSLT140" key? (I've been trying to get you exchange scripts working too, yet they will not when using Kerberos. i'm awaiting time with our exchange guy to sort. Sadly, It looks like we cannot use auto discover to setup Lync or Oulook Mac Clients. My script is below, it's a little bit more involved as it queries DSCL for the domain info, users e-mail, users kerberos ID & users SIP Address. Write details of the setup to ~/Library/Logs/LyncSetup.log.
Set the preference to not show the license agreement.ġ. Populate the user's ~/Library/Preferences/ file with the Lync logon information.ġ. Read Active Directory for the user's email addressġ. If it finds ~/Library/Preferences/ then the script will exit. The launchd agent will launch the script at every user login.
It is written for Active Directory environments and should support Mac OS X 10.5.8 and higher. With help from Jason Bush I was able to modify my Communicator script for Lync. Would've helped if i'd copied the plist from you correctly Matt! Hkey_local_machinesoftwarepoliciesmicrosoftcommunicatordisableservercheck Hkey_local_machinesoftwarepoliciesmicrosoftcommunicatorserveraddressexternal Hkey_local_machinesoftwarepoliciesmicrosoftcommunicatorserveraddressinternal Hkey_local_machinesoftwarepoliciesmicrosoftcommunicatorconfigurationmode Hkey_local_machinesoftwarepoliciesmicrosoftcommunicator Hkey_local_machinesoftwarepoliciesmicrosoft Hey everyone I worked extensively with Microsoft on the Lync machine level Plist issues and we were able to resolve them.