sharpe11
Aktives Mitglied
Thread Starter
- Dabei seit
- 03.04.2005
- Beiträge
- 170
- Reaktionspunkte
- 9
ch möchte eine Ordneraktion starten.
Wenn ein .mpg oder .mpeg in den Ordner kommt soll Turbo.264 HD diese mit einem bestimmten Preset encodieren.
Das klappt soweit auch. Aber NACH der Codierung soll die Anwendung wieder geschlossen werden. Das will bei meinem Skript nicht so recht passen.
Wer kann denn helfen ??
Hier das Script
on adding folder items to this_folder after receiving added_items
tell application "Turbo.264 HD"
activate
set items_added to get the (count of added_items) + 1
set i to 1
repeat until i = items_added
add file (item i of added_items) exporting as custom with custom setting "MyCustomPreset"
set i to i + 1
end repeat
encode
tell Application "Turbo.264 HD"
repeat while isEncoding
delay 5
end repeat
tell Application "Turbo.264 HD" to quit
end tell
end tell
end adding folder items to
Wenn ein .mpg oder .mpeg in den Ordner kommt soll Turbo.264 HD diese mit einem bestimmten Preset encodieren.
Das klappt soweit auch. Aber NACH der Codierung soll die Anwendung wieder geschlossen werden. Das will bei meinem Skript nicht so recht passen.
Wer kann denn helfen ??
Hier das Script
on adding folder items to this_folder after receiving added_items
tell application "Turbo.264 HD"
activate
set items_added to get the (count of added_items) + 1
set i to 1
repeat until i = items_added
add file (item i of added_items) exporting as custom with custom setting "MyCustomPreset"
set i to i + 1
end repeat
encode
tell Application "Turbo.264 HD"
repeat while isEncoding
delay 5
end repeat
tell Application "Turbo.264 HD" to quit
end tell
end tell
end adding folder items to