![]() ![]() ![]() Name the file, pick the directory, change the File Format to Application, tick ‘Run Only’ and then click Export. Once you’ve pasted the code into the AppleScript Script Editor, go to File > Export. If application Outlook is running then tell application Outlook to quit end if tell application ProfSwitch to launch repeat until application ProfSwitch is not runningĮnd repeat if application ProfSwitch is running then delay 1Įnd if tell application Outlook to launch Set ProfSwitch to "Applications/Microsoft Outlook.app/Contents/SharedSupport/Outlook Profile Manager.app" To get started, open up AppleScript editor (Applications > Utilities > Script Editor), and paste in the following: set Outlook to "Applications/Microsoft Outlook.app" ![]() It’s not as seamless as Outlook on Windows, but it’s better than nothing! This script checks Outlook is closed (and quits it if it’s open), launches the profile switching tool, waits for you to change your default profile and close the tool, and then finally launches Outlook. Microsoft does, however, include a profile switching utility within Outlook for Mac and with some AppleScript you can launch the switching utility before Outlook. Outlook for Windows supports profile switching at launch natively, but the version for macOS makes it a little more difficult. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |