View Single Post
  #11  
Old 01-28-2011, 01:41 PM
billearl billearl is offline
Registered User
 
Join Date: Mar 2008
Posts: 20
My AppleScript script for that (run from a Butler menu item) is:

tell application "System Events" to set frontApp to name of (processes whose frontmost is true) as string
set SDPath to (path to documents folder as string) & "SuperDuper:"
set buDaysBoot to ((current date) - (modification date of (info for alias (SDPath & "Boot Date")) as date)) / days
tell application "System Events"
activate
display dialog (((round (buDaysBoot * 10)) / 10) as string) & " days since Boot backup." buttons {"OK"} default button "OK"
end tell
tell application frontApp to activate
Reply With Quote