Applescript Can';无法在循环中获取第二项
我试图遍历Photoshop中所有打开的文档,以获取每个图像的高度和宽度 无论出于何种原因,我在第二次循环中收到一个错误,表示它无法获取第二项。(第5行错误) 代码:Applescript Can';无法在循环中获取第二项,applescript,Applescript,我试图遍历Photoshop中所有打开的文档,以获取每个图像的高度和宽度 无论出于何种原因,我在第二次循环中收到一个错误,表示它无法获取第二项。(第5行错误) 代码: 您必须获得currentDocs set currentDoc to item n of currentDocs 或者使用重复使用。。。在…语法中 repeat with currentDoc in currentDocs tell currentDoc ... repeat with currentDoc in cur
您必须获得
currentDocs
set currentDoc to item n of currentDocs
或者使用重复使用。。。在…
语法中
repeat with currentDoc in currentDocs
tell currentDoc ...
repeat with currentDoc in currentDocs
tell currentDoc ...