短信验证码用 alfred 还是太麻烦了, 我目前是用 launchctl 监听短信文件夹, 如果有改动就自动调用脚本查看最近两分钟的短信如果有验证码就复制复制成功发个 notify.
```
cat ~/Library/LaunchAgents/com.me.verifycode.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.me.verifycode</string>
<key>ProgramArguments</key>
<array>
<string>bash</string>
<string>/Users/xxx/Library/LaunchAgents/
verifycode.sh</string>
</array>
<key>WatchPaths</key>
<array>
<string>/Users/xxx/Library/Messages/</string>
</array>
</dict>
</plist>
```