#The script, in Part
property mailManagerDesktopFolderPath : ((path to desktop as text) & "Mail
Manager Folder:")
tell application "Finder"
try
set temp to (my mailManagerDesktopFolderPath & ".File Mail Size”)
set tempMailDataOne to my readfile1(".File Mail Size")
set StartDateOne to item 1 of tempMailDataOne as date
set tempMailCountOne to (item 5 of tempMailDataOne) + 1
set my overallMailCount to tempMailCountOne
try
set pathToFile to (my mailManagerDesktopFolderPath & ".File Mail Size") as text
set theFile to pathToFile as «class furl»
set fileRef to open for access theFile with write permission
close access fileRef
my writeFile8(".File Mail Size", {StartDateOne as date, (current date) as date, 0, 0, tempMailCount, 0})
end try
end try
set saveTheMailSizeData to (my mailManagerDesktopFolderPath) & ".File Mail Size"
tell application "System Events" to display dialog saveTheMailSizeData
if not (exists file saveTheMailSizeData) then
say "File missing"
end if
end tell