Posted on 11-12-2020 04:56 AM
Hi
We use Mac and Windows with Outlook in our school
In the group policy I can configure default fonts for Windows
How can I configure Default Fonts for Mac for all the users in the organization
Kind regards,
Solved! Go to Solution.
Posted on 11-12-2020 05:37 AM
Posted on 11-12-2020 05:37 AM
Posted on 11-01-2021 06:04 AM
Hi how do I get the script to work? I added it to scripts in Jamf but it doesn't work. The message that pops up says that the registry does not exists for MicrosoftRegistrationDB.reg and no such file or directory, Registry could not be created
Posted on 11-15-2020 06:01 AM
@sdagley - I have played with the script and sorted it
Thank you so so much for this
Kind regards,
Posted on 11-12-2021 03:05 PM
Hi everyone,
Would someone be able to explain how to deploy this OutlookFontPoke script for Arial 11?
I am failing to understand the logic of the script, it's dirving me insane.
Thank you
Posted on 02-24-2021 02:12 PM
I'm trying to get this to run at login. Here is what I have but it is not working.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mycompany.fontpoke</string>
<key>Program</key>
<string>/Users/Shared/OutlookFontPoke.sh</string>
<key>ProgramArguments</key>
<array>
<string>'Arial' '12.0pt' 'black'</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
I have also tried splitting the program arguments out as separate strings in the array, and also removing the ' ' . No luck.
Posted on 02-24-2021 06:07 PM
@DavidN A couple of problems in what you're trying:
- The OutlookFontPoke.sh script looks to be designed to be run by the logged in user's account, but if you're running from a LaunchDaemon it'll be running as root
- You shouldn't use both the Program
and ProgramArguments
keys. ProgramArguments
is what you should be using, and the first 2 items in your array would be:
<string>/bin/sh</string>
<string>/Users/Shared/OutlookFontPoke.sh</string>
...
A good guide to LaunchAgents/Daemons is https://launchd.info
You'll also find the article Running a Command as another User helpful.
Posted on 02-25-2021 06:38 AM
Thanks for the response. I am running this as a launchAgent and have tried it both in /Library/LaunchAgents as well as ~/Library/LaunchAgents. I have also tried the syntax you have above /bin/sh with the script. It also needs parameters passed into it.
'Arial' '12.0pt' 'black'
I thought the parameters would be ProgramArguments while the Program would be the script itself. Is that not correct?
Posted on 02-25-2021 11:34 AM
Here's the answer:
:)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mycompany.fontpoke</string>
<key>ProgramArguments</key>
<array>
<string>/Users/Shared/OutlookFontPoke.sh</string>
<string>Arial</string>
<string>12.0pt</string>
<string>black</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Posted on 11-12-2021 03:06 PM
Hi everyone,
Would someone be able to explain how to deploy this OutlookFontPoke script for Arial 11?
I am failing to understand the logic of the script, it's dirving me insane.
Thank you
Posted on 04-04-2023 09:04 PM
Trying to use OutlookFontPoke both locally and through Jamf. Getting "OutlookFontPoke: command not found" when trying to run OutlookFontPoke from pbowden using the example command:
https://github.com/pbowden-msft/OutlookFontPoke
Thinking that I was doing something wrong I tried using outlookFontSet from quedayone but getting the same error:
https://github.com/quedayone/jamf-pro-scripts/blob/master/outlookFontSet.sh
Just need to set a default font for Outlook (I was able to get Word and PP to accept Normal.dotm and Normal.potx but Outlook doesn't seem to load NormalEmail.dotm anymore as a template...)
Posted on 04-20-2023 08:21 AM
In working with Paul Bowden (author of OutlookFontPoke), we were able to come up with a deployable version of this script. This is how we did it:
1. Drop OutlookFontPoke and TemplateRegDB.reg on the system in an accessible location (I kept it in the folder OutlookFontPoke-master and dropped it in Users/Shared)
2. In Jamf Scripts, create a script with these commands:
#!/bin/bash
#send command to OutlookFontPoke v2.1 by Paul Bowden
#https://github.com/pbowden-msft/OutlookFontPoke/archive/refs/heads/master.zip
#pbowden@microsoft.com
#Get Current User
loggedInUser=$(/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }')
echo $loggedInUser " is logged in"
#fix permissions
chmod +x /Users/Shared/OutlookFontPoke-master/OutlookFontPoke
# Run command as current logged in user
sudo -u $loggedInUser /Users/Shared/OutlookFontPoke-master/OutlookFontPoke 'Helvetica' '11.0pt' 'gray'
# Cleanup files
rm -rf /Users/Shared/OutlookFontPoke-master
exit 0
3. Add both the package and script (script priority set to after) to a policy to run at your needed cadence. This is a one time set and is not enforced so the user can change it in Outlook settings.
I am trying to make it a bit more future proof by adding in Parameter Values but it am having issues passing into or with ' ' (any suggestions would be greatly appreciated, can't remember/find how)
Posted on 05-02-2023 06:47 AM
This worked perfectly. Thank you so much for simplifying it.
Posted on 09-15-2023 12:59 AM
works for me on monterey, but not on ventura.. anyone got that working on ventura?
Posted on 10-02-2023 09:23 AM
I did have more consistent success injecting the fonts in question to /Users/$userName/Library/Group\ Containers/UBF8T346G9.Office/FontCache/4/CloudFonts/. The fonts I am using are not a default font set though... Then I setup an EA and smart group to test for existence of those fonts before setting the default.