Hey, I'm just looking for a point in the right direction
I'm trying to create a script that will make a signature for Outlook 2011
Here is what I have so far:
#!/bin/bash
# Create a variable for the logged in user
user=`defaults read /Library/Preferences/com.apple.loginwindow.plist lastUserName`
# Echo the result of the variable
echo $user
# Change directory to the local user's desktop
cd ~/Desktop; touch signature.txt
# Read Active Directory to find out the values for this user
dscl . -read /Users/$user Realname | echo >> signature.txt
dscl . -read /Users/$user JobTitle | echo >> signature.txt
dscl . -read /Users/$user PhoneNumber | echo >> signature.txt
dscl . -read /Users/$user EMailAddress | echo >> signature.txt
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.
As a point of note, here is how the signature looks when set up manually:
http://oi60.tinypic.com/20k85f8.jpg
Any help would be greatly appreciated
