/ entropy-viewlog.applescript
entropy-viewlog.applescript
1 on clicked theObject 2 -- Read in the preferences 3 set theLocation to POSIX path of (call method "defaultObjectForKey:" with parameter "entropy") 4 try 5 do shell script "open " & theLocation & "entropy.log" 6 on error 7 display dialog "Error: entropy.log is missing. If you recently cycled the log and haven't restarted entropy, this is normal." 8 end try 9 end clicked 10