开发者

Is there any way for Mac dashboard widget to reload himself

My开发者_如何学C dashboard widget has automatic update system, but after every update user should press ⌘R for changes to take a place. I want to do it automaticaly, without any user actions.

Is there any widget method to reload it?

Common methods doesn't works: I've tried to call window.location.reload(), history.go(0) & window.location.href=window.location.href — every method throws an error.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜