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