Automatoraktion bearbeiten

sedna

Galloway Pepping
Registriert
22.10.08
Beiträge
1.358
Hallo Spirit! :)

Stimmt.
In 10.5.5 funktioniert der pad Befehl nicht. Doch ist in dem Beispiel-Skript ein alternativer Weg angegeben. Ein do shell script mit sips.
Du mußt wissen: Image Events ist das AppleScript-Interface zu sips.

Die Grundlagen von scale und pad sind hier ja schon beschrieben worden. Schau dir mal mein Beispiel an:

Code:
set the_Files to choose file with prompt "Wähle die Bilder:" with multiple selections allowed without invisibles
repeat with this_file in the_Files
    set this_path to the quoted form of the POSIX path of this_file
    do shell script "sips " & this_path & " -Z 150 -p 150 150 --padColor FFFFFF -i"
end repeat

Sedna