Hallo Willem,
das Script, welches Du dem In-Ordner angehängt hast, fragt nur diesen nach Files ab.
Was man ändern könnte: die Files
zuerst verschieben und sie dann im Out-Ordner mit der Photoshop-Aktion behandeln lassen. Dazu muss nur die Zeile mit dem 'move'-Befehl verschoben werden:
---
property PSpath : alias "Macintosh HDns (Mac OS 9):Adobe® Photoshop® 6.0.1:Adobe® Photoshop® 6.0.1"
property outFolder : alias "Macintosh HD:Out:"
on adding folder items to thisFolder after receiving itemList
repeat with aFile in itemList
tell application "Finder" to move file aFile to folder outFolder
tell application "Finder" to open file aFile using PSpath
tell application "Adobe® Photoshop® 6.0.1"
activate
do script "test_1"
end tell
end repeat
end adding folder items to
property outFolder : alias "Macintosh HD:Out:"
on adding folder items to thisFolder after receiving itemList
repeat with aFile in itemList
tell application "Finder" to move file aFile to folder outFolder
tell application "Adobe® Photoshop® 7.0"
activate
open file aFile
do script "test_1"
end tell
end repeat
end adding folder items to
---
Ich hoffe, dass es so funktioniert.
Hans Haesler <hsa@ringier.ch>