There seems to be an issue with users experiencing high CPU spikes when running Adobe Photoshop, InDesign, or Illustrator. Adobe put out some instructions on how to resolve it, but it’s a pretty tedious process if you run a design or creative ad agency. You’re going to have to perform these instructions for every application for every computer. If you have multiple campuses, you could be looking at 250+ users, each with 3 applications that need to be manually patched.
I constructed a rough script to handle most of the work for you. What used to take me 15 minutes a machine now takes me less than 5 seconds. Check it out below: (Note- you must download the provided Adobe DL 2.2.4 folder from here. You can save it to a hidden folder. I saved my download to /private/var/tmp/ or you can save it to your desktop. Edit the script below as you need.)
mkdir -pv /private/var/tmp/CEPHtmlEngine/{PS,IL,IN}
mv -fv /Applications/Adobe\ Photoshop\ CC\ 2015/Adobe\ Photoshop\ CC\ 2015.app/Contents/Required/CEP/extensions/com.adobe.DesignLibraryPanel.html/* /private/var/tmp/CEPHtmlEngine/PS/
cp -rv /private/var/tmp/DL\ 2.2.4/* /Applications/Adobe\ Photoshop\ CC\ 2015/Adobe\ Photoshop\ CC\ 2015.app/Contents/Required/CEP/extensions/com.adobe.DesignLibraryPanel.html
mv -fv /Applications/Adobe\ Illustrator\ CC\ 2015/CEP/extensions/com.adobe.DesignLibraries.angular/* /private/var/tmp/CEPHtmlEngine/IL/
cp -rv /private/var/tmp/DL\ 2.2.4/* /Applications/Adobe\ Illustrator\ CC\ 2015/CEP/extensions/com.adobe.DesignLibraries.angular/
mv -fv /Applications/Adobe\ InDesign\ CC\ 2015/Resources/CEP/extensions/com.adobe.DesignLibraries.angular/* /private/var/tmp/CEPHtmlEngine/IN/
cp -rv /private/var/tmp/DL\ 2.2.4/* /Applications/Adobe\ InDesign\ CC\ 2015/Resources/CEP/extensions/com.adobe.DesignLibraries.angular/
pkill Adobe
This script creates a directory and moves the current files in the following directories:
- Photoshop: /Applications/Adobe Photoshop CC 2015/Adobe Photoshop CC 2015.app/Contents/Required/CEP/extensions/com.adobe.DesignLibraryPanel.html/
- Illustrator: /Applications/Adobe Illustrator CC 2015/CEP/extensions/com.adobe.DesignLibraries.angular/
- InDesign: /Applications/Adobe InDesign CC 2015/Resources/CEP/extensions/com.adobe.DesignLibraries.angular/
- Dreamweaver: /Applications/Adobe Dreamweaver/CC 2015/configuration/CEP/extensions/
And moves them to /private/var/tmp/CEPHtmlEngine/ (the directory that’s created in the first line.)
It then takes the content from the Adobe DL 2.2.4 folder and copies them to the same directories listed above. The last line of code kills any Adobe applications running. When complete, you should see your CEPHtmlEngine process go ~95% to a normal range below 5%.
Originally published at medium.com on May 26, 2016.