以下是实现Illustrator软件中Ctrl+R的功能(显示/隐藏标尺)的Illustrator脚本代码:

// 显示/隐藏标尺
var document = app.activeDocument;
document.rulerOrigin = [0,0];
document.rulers.visible = !document.rulers.visible;

将此代码保存为.js文件,然后将其导入Illustrator脚本面板中。在使用脚本时,只需单击一次脚本名称即可显示/隐藏标尺。


原文地址: https://www.cveoy.top/t/topic/ehoq 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录