-1

我在 Mac OS X 上使用 Outlook 2011,我试图找到一种方法来计算撰写邮件所需的时间。

谢谢!

4

1 回答 1

0

如果您只需要知道分钟数(而不是秒数),则可以使用Atea。这是一个超级简单的时间跟踪器,位于您的菜单栏中。

如果您需要时间精确到秒,这是一个有点丑陋但有效的 Applescript 一次性时间跟踪器:

property logfile : "Path:To:log.txt"

set startTime to current date

--Don't let the dialog timeout. Give it an entire day to finish
with timeout of 86400 seconds
    display dialog "Click 'Finished' when your email is complete." buttons {"Finished"} default button "Finished"
end timeout

set elapsedTime to (current date) - startTime

--Opening and immediately closing the file just makes sure
--the file will exist when you try to write to it.
open for access file logfile with write permission
close access file logfile
write ((elapsedTime as string) & return) to file logfile starting at eof
于 2013-09-11T19:52:27.853 回答