I want to create a button to list all the alternative Email accounts in Outlook Mac 2011. I know that we can't use plug-ins in Mac Outlook and also certain limited functionality can be done using AppleScript. Can anyone please guide me on how to add a button in Mac Outlook by any means?
Asked
Active
Viewed 1,434 times
1 Answers
0
I don't know if you can add a button or not, but you could write an AppleScript and have it available from the Script menu.
- Open the AppleScript Editor app.
- Choose "Preferences..." from the menu
- Click on the icon called "General".
- Check the checkbox called "Show script menu in menu bar".
- Now, you should see a script menu in the upper, right-hand part of your menu bar.
Develop a script such as the following for testing:
set thisAccount to choose from list {"Account 1", "Account 2", "Account 3"} if thisAccount is equal to false then return display dialog "The account chosen was: " & thisAccount
Save this script in the folder: ~/Library/Scripts
Depending upon your version of OS X, the folder ~/Library may be hidden. If so, you can use a command such as the following, from Terminal, to change the folder so that it is not hidden:
chflags nohidden ~/Library/
Save the script in the following folder: ~/Library/Scripts, It will be available from the scripts menu.
This is a start. What's left to do is to get the list of actual email accounts from Outlook and of course, once the email account is chosen, do what you need to do with it.

Peter Hosey
- 95,783
- 15
- 211
- 370

Kaydell
- 484
- 1
- 4
- 14