如何在 ical、终端中添加新事件?
如何使用终端在 ical 中添加事件而不使用其他第三方(如 icalbuddy)? 有人在 2006 年有一个想法,但它似乎不适用于 leopard 10.6.7
osascript -e 'tell application "iCal" to make new event at end of calendar 1 with properties {start date:date "Sunday, March 5, 2006 1:02:00 PM", summary:"test event"}'
上面的结果导致日期语法错误 有人知道该怎么做吗?
how to use terminal to add event in ical without using other third party like icalbuddy??
someone had an idea in 2006, but it doesn't seem to work with leopard 10.6.7
osascript -e 'tell application "iCal" to make new event at end of calendar 1 with properties {start date:date "Sunday, March 5, 2006 1:02:00 PM", summary:"test event"}'
the above results in a bad syntax with the dates
Any one know how to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能您的本地日期格式与示例中使用的格式不同,这可能是错误的原因。
Probably your local date format differs from one used in example, that's can be the reason of error.