Created
December 19, 2013 13:48
-
-
Save jordanmerrick/8039354 to your computer and use it in GitHub Desktop.
Microsoft Office 2011 utilises the 'TemporaryItems' folder of Mac OS X, much like any other app. If there are any permissions issues within this folder, it can cause a number of problems with Office's Autosave function or prevent the function of emailing documents from within apps, such as Excel. While the path to the folder can be almost random…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tFolder to path to temporary items | |
display dialog "Clear Temporary Items?" buttons {"Yes", "No"} default button 2 | |
if the button returned of the result is "Yes" then | |
tell application "Finder" | |
delete tFolder | |
end tell | |
else | |
error number -128 | |
end if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment