master07
Aktives Mitglied
Thread Starter
- Dabei seit
- 10.10.2006
- Beiträge
- 330
- Reaktionspunkte
- 3
Hi Leute,
habe ein Skript, das mir alle Bilder eines Ordners automatisch skalieren soll auf 80%.
Es kommt aber immer folgende Meldung:
Wo liegt hier der Fehler:
habe ein Skript, das mir alle Bilder eines Ordners automatisch skalieren soll auf 80%.
Es kommt aber immer folgende Meldung:
Code:
Expected end of line, etc. but found identifier.
Wo liegt hier der Fehler:
Code:
set this_folder to (choose folder with prompt "Pick the folder containing the images to process:") as string
tell application "System Events"
set these_files to every file of folder this_folder whose name does not start with "." and (file type is "TIFF" or file type is "JPEG" or name extension is "tiff" or name extension is "tif" or name extension is "jpeg" or name extension is "jpg")
end tell
repeat with i from 1 to the count of these_files
set this_file to (item i of these_files as alias)
tell application "Image Capture Scripting"
set this_file to open
scale this_file by factor 0.8 --[COLOR="Red"]HIER MARKIERT ER MIR DEN FEHLER[/COLOR]
save this_file in
close this_file
end tell
end repeat