在 iChat 中使用 DataDetector
原文见:macosxhints.com | 10.5: Enable Data Detectors in iChat
Leopard 的 Mail 程序中的数据探测功能可以在用户将鼠标移至一定数据附近时提供一些方便的功能:
- 若是联系人信息,提供的选项是将之添加至用户的地址簿。
- 若是事件信息,提供的选项是将之添加至 iCal 中的相关日历中。如果选择添加至 iCal 中,将会弹出一个与直接在 iCal 中添加事件一样的面板,而且弹出的过程同样使用了 Leopard 中新添加的 Core Animation。

然而实际上这个功能不只局限于在 Mail 程序中使用,在 iChat 同样可以用上, 只不过 Apple 把这个功能默认隐藏了。只需在 终端 程序中输入如下命令即可:
defaults write com.apple.iChat EnableDataDetectors 1

若要停用此功能,将上述命令中的 1 改为 0 即可。
defaults write com.apple.iChat EnableDataDetectors 0