Clear/Delete ALL Recent Microsoft Office Files on Mac (FAST!)
1.6 هزار بار بازدید -
5 ماه پیش
-
This description provides a comprehensive
This description provides a comprehensive guide on clearing recent files for all Microsoft Office applications (Word, Excel, PowerPoint, etc.) on your Mac. So, let’s learn how to swiftly clear all recent files associated with Microsoft Office applications on your Mac. Whether you're using Word, Excel, PowerPoint, or any other Microsoft Office app, decluttering your recently opened files list has never been easier.
➡️ Commands:
➡️ MS Word QuickAction:
defaults delete com.microsoft.Word
➡️ Only Excel QuickAction:
#!/bin/bash
osascript -e 'tell application "Microsoft Excel" to delete recent files'
➡️ All Microsoft Apps (Word, PowerPoint, Excel, etc.):
#!/bin/bash
Function to clear recent files for a Microsoft Office app
clear_recent_files() {
app_name="$1"
plist_file="$HOME/Library/Containers/com.microsoft.$app_name/Data/Library/Preferences/com.microsoft.$app_name.plist"
Check if the plist file exists
if [ -f "$plist_file" ]; then
Delete the plist file
rm "$plist_file"
else
If the plist file doesn't exist, use AppleScript to clear recent files
osascript -e "tell application \"Microsoft $app_name\" to delete recent files"
fi
}
Clear recent files for Microsoft Word
clear_recent_files "Word"
Clear recent files for Microsoft Excel
clear_recent_files "Excel"
Clear recent files for Microsoft PowerPoint
clear_recent_files "PowerPoint"
Add similar commands for other Microsoft Office apps as needed
➡️ Important Note:
After clearing all the recent files. it may change the default file association such as open with Excel, word, etc. in that case, files may not open properly.
Solution 1 (very important)
1. Quit Word.
2. In Finder, search for Normal in This Mac.There should be two files: Normal.dotm and Normal.dotm-(number).
3. Delete Normal.dotm (select it and then click Move to Trash)
4. Rename the other file as Normal.dotm (remove the hyphen and number).
5. Restart Word.
(Here is the article about Normal.Dotm file by Microsoft)
https://tinyurl.com/2hbjtzz9
Solution 2
Go to the terminal and run this command to reset the file association
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Solution 3
Restart your Mac
➡️ To Delete Microsoft Recent Files individually:
World
~/Library/Containers/com.microsoft.Word/Data/Library/Preferences/com.microsoft.Word.securebookmarks.plist
Excel
~/Library/Containers/com.microsoft.Excel/Data/Library/Preferences/com.microsoft.Excel.securebookmarks.plist
PowerPoint
~/Library/Containers/com.microsoft.Powerpoint/Data/Library/Preferences/com.microsoft.Powerpoint.securebookmarks.plist
➡️Locate Services you have created
/Users/YourUsername/Library/Services
Here are my previous videos that can help you better.
Fix Indexing- If Mac finder is not searching Files
https://tinyurl.com/32ahxpc9
Create Automator service if the finder is not searching files and folders on Mac
https://tinyurl.com/5n62m4bz
Fix Microsoft 365 Recent files on MacOS
https://tinyurl.com/4r9xsr3w
My Playlists on YouTube
CapCut Edits
http://tinyurl.com/yz2xzsvf
MacBook: Tips and Tricks
http://tinyurl.com/2p95h7vu
The future is AI
http://tinyurl.com/ycxk8cze
The OBS Studio Bible
http://tinyurl.com/3m6u6bwz
Privacy & Freedom Online: The Essential VPN Playlist
http://tinyurl.com/29kkvb34
🔥 Support my channel by buying PrivadoVPN here 👉 https://privadovpn.com/#a_aid=proattique
Privado VPN Review- Best and Fastest VPN For China and Beyond (PrivadoVPN For All Devices)
http://tinyurl.com/2upmeche
Fix PrivadoVPN Reconnecting Server Issues (China & Beyond)
http://tinyurl.com/vprds6km
#microsoftmacos #mac #macos #macmicrosoft #microsoft #office #microsoftofficerecentfiles #removerecentfiles #macosremoverecentfiles
📸 🌐 𝑺𝒐𝒄𝒊𝒂𝒍 𝑴𝒆𝒅𝒊𝒂:
👉 Instagram: bukharijlu
👉 Twitter: attiquenaqvi
💬 𝑳𝒆𝒕'𝒔 𝒄𝒐𝒏𝒏𝒆𝒄𝒕 𝒊𝒏 𝒕𝒉𝒆 𝒄𝒐𝒎𝒎𝒆𝒏𝒕𝒔! 𝑺𝒉𝒂𝒓𝒆 𝒚𝒐𝒖𝒓 𝒕𝒉𝒐𝒖𝒈𝒉𝒕𝒔 𝒂𝒏𝒅 𝒊𝒅𝒆𝒂𝒔. 💬
Thanks for joining the journey! 🌍✨
➡️ Commands:
➡️ MS Word QuickAction:
defaults delete com.microsoft.Word
➡️ Only Excel QuickAction:
#!/bin/bash
osascript -e 'tell application "Microsoft Excel" to delete recent files'
➡️ All Microsoft Apps (Word, PowerPoint, Excel, etc.):
#!/bin/bash
Function to clear recent files for a Microsoft Office app
clear_recent_files() {
app_name="$1"
plist_file="$HOME/Library/Containers/com.microsoft.$app_name/Data/Library/Preferences/com.microsoft.$app_name.plist"
Check if the plist file exists
if [ -f "$plist_file" ]; then
Delete the plist file
rm "$plist_file"
else
If the plist file doesn't exist, use AppleScript to clear recent files
osascript -e "tell application \"Microsoft $app_name\" to delete recent files"
fi
}
Clear recent files for Microsoft Word
clear_recent_files "Word"
Clear recent files for Microsoft Excel
clear_recent_files "Excel"
Clear recent files for Microsoft PowerPoint
clear_recent_files "PowerPoint"
Add similar commands for other Microsoft Office apps as needed
➡️ Important Note:
After clearing all the recent files. it may change the default file association such as open with Excel, word, etc. in that case, files may not open properly.
Solution 1 (very important)
1. Quit Word.
2. In Finder, search for Normal in This Mac.There should be two files: Normal.dotm and Normal.dotm-(number).
3. Delete Normal.dotm (select it and then click Move to Trash)
4. Rename the other file as Normal.dotm (remove the hyphen and number).
5. Restart Word.
(Here is the article about Normal.Dotm file by Microsoft)
https://tinyurl.com/2hbjtzz9
Solution 2
Go to the terminal and run this command to reset the file association
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Solution 3
Restart your Mac
➡️ To Delete Microsoft Recent Files individually:
World
~/Library/Containers/com.microsoft.Word/Data/Library/Preferences/com.microsoft.Word.securebookmarks.plist
Excel
~/Library/Containers/com.microsoft.Excel/Data/Library/Preferences/com.microsoft.Excel.securebookmarks.plist
PowerPoint
~/Library/Containers/com.microsoft.Powerpoint/Data/Library/Preferences/com.microsoft.Powerpoint.securebookmarks.plist
➡️Locate Services you have created
/Users/YourUsername/Library/Services
Here are my previous videos that can help you better.
Fix Indexing- If Mac finder is not searching Files
https://tinyurl.com/32ahxpc9
Create Automator service if the finder is not searching files and folders on Mac
https://tinyurl.com/5n62m4bz
Fix Microsoft 365 Recent files on MacOS
https://tinyurl.com/4r9xsr3w
My Playlists on YouTube
CapCut Edits
http://tinyurl.com/yz2xzsvf
MacBook: Tips and Tricks
http://tinyurl.com/2p95h7vu
The future is AI
http://tinyurl.com/ycxk8cze
The OBS Studio Bible
http://tinyurl.com/3m6u6bwz
Privacy & Freedom Online: The Essential VPN Playlist
http://tinyurl.com/29kkvb34
🔥 Support my channel by buying PrivadoVPN here 👉 https://privadovpn.com/#a_aid=proattique
Privado VPN Review- Best and Fastest VPN For China and Beyond (PrivadoVPN For All Devices)
http://tinyurl.com/2upmeche
Fix PrivadoVPN Reconnecting Server Issues (China & Beyond)
http://tinyurl.com/vprds6km
#microsoftmacos #mac #macos #macmicrosoft #microsoft #office #microsoftofficerecentfiles #removerecentfiles #macosremoverecentfiles
📸 🌐 𝑺𝒐𝒄𝒊𝒂𝒍 𝑴𝒆𝒅𝒊𝒂:
👉 Instagram: bukharijlu
👉 Twitter: attiquenaqvi
💬 𝑳𝒆𝒕'𝒔 𝒄𝒐𝒏𝒏𝒆𝒄𝒕 𝒊𝒏 𝒕𝒉𝒆 𝒄𝒐𝒎𝒎𝒆𝒏𝒕𝒔! 𝑺𝒉𝒂𝒓𝒆 𝒚𝒐𝒖𝒓 𝒕𝒉𝒐𝒖𝒈𝒉𝒕𝒔 𝒂𝒏𝒅 𝒊𝒅𝒆𝒂𝒔. 💬
Thanks for joining the journey! 🌍✨
5 ماه پیش
در تاریخ 1403/01/09 منتشر شده
است.
1,652
بـار بازدید شده