[英]Refresh desktop icon of mac os x
I want to refresh desktop icon of my application without relaunch finder or dock. 我想刷新我的应用程序的桌面图标,而无需重新启动查找程序或停靠。 my motive is refresh desktop icon without realize refresh to user
我的动机是刷新桌面图标而没有实现刷新用户
You can try 你可以试试
tell application "Finder"
tell desktop
update every item with necessity
end tell
end tell
Refresh apple script does not work on 10.8 and above. 刷新苹果脚本在10.8及更高版本上不起作用。 Only way to refresh desktop is to restart finder.
刷新桌面的唯一方法是重启finder。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.