If the account is already configured, you can get the personal info from Outlook faster and cleaner than you can with dscl. You will need to create two versions of the signature, one with HTML formatting. It will run in a manner visible to the user. Outlook will need to be past its initial setup and licensing screens. This is doable with AppleScript, but there are more gotchas than you expect. So from here I'd like for the text to be exported to a signature file and for the text to be formatted - I'm not sure if this is possible.Īs a point of note, here is how the signature looks when set up manually: read /Users/$user EMailAddress | echo > signature.txt read /Users/$user PhoneNumber | echo > signature.txtĭscl.
read /Users/$user JobTitle | echo > signature.txtĭscl. read /Users/$user Realname | echo > signature.txtĭscl. # Read Active Directory to find out the values for this userĭscl. # Change directory to the local user's desktop User=`defaults read /Library/Preferences/ lastUserName`
# Create a variable for the logged in user I'm trying to create a script that will make a signature for Outlook 2011 Hey, I'm just looking for a point in the right direction