Photoshop JavaScript:删除所有指南?
我只能找出一种从布局中删除单个指南的方法:
activeDocument.guides[0].remove();
这是使用索引的单个指南。我没有一个菜单一次可以一次清除所有指南吗?
I can only find out a way to remove a single guide from the layout:
activeDocument.guides[0].remove();
This targets a single guide using an index. Isn't there a menu I can call to clear all guides at once?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用
You can use
activeDocument.guides.removeAll()
传统上,您必须以相反的顺序删除指南:
这与
Traditionally, you had to remove the guides in reverse order:
which is the same as