1
나는 선택한 폴더에서 많은 이미지를 가져와 Graphic Converter를 사용하여 이미지를 미러링하는 간단한 AppleScript가 있습니다. 이 스크립트는 새 AS 파일에 배치하면 실행됩니다. 그러나 두 번째 실행하려고하면 응용 프로그램 "GraphicConverter"창 1을 가져올 수 없습니다. "잘못된 인덱스를 가져옵니다."단순한 스크립트가 더 이상 Lion에서 작동하지 않습니다.
이 스크립트는 항상 내가 OSX 10.7.4 및 그래픽 변환기 8.1 (최신 버전)을 실행하고있어 OSX 10.6
에 달렸다.
다음은 스크립트
tell application "Finder"
activate
set loopFinish1 to 0
set pathName to (choose folder with prompt "Choose Folder Containing Images")
set fileList1 to every file of folder pathName
set loopFinish1 to count of items of fileList1
end tell
tell application "GraphicConverter"
activate
repeat with i from 1 to loopFinish1
set currentFile to item i of fileList1
open currentFile as alias
mirror window 1 in horizontal
close window 1 saving yes
end repeat
end tell
이 나를 미치게입니다!