Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>Software>.doc zu .txt automatisch konvertieren

.doc zu .txt automatisch konvertieren

ollerich
ollerich07.09.0716:26
Hallo zusammen

Ich suche eine Möglichkeit (Programm/Script), um Worddokumente in Textdokumente zu konvertieren.

Kennt da vielleicht jemand ein Programm oder Script, welches Hotfolderbasierend ist und diese Aufgabe automatisch abwickelt?
„Leaves are falling words from the earth. Spoken in silence. Never heard.“
0

Kommentare

Ties-Malte
Ties-Malte07.09.0716:37
Guck mal hier @@ http://automatorworld.com/archives/convert-text/ (automatorworld) und evtl. auch hier @@ http://automatorworld.com/archives/microsoft-office-automator-actions/
„The early bird catches the worm, but the second mouse gets the cheese.“
0
MacSteve Pro07.09.0716:41
ansonsten mal mit automator versucht?
0
ollerich
ollerich07.09.0716:53
Danke für die Links, Ties-Malte

MacSteve Pro, Automator kenne ich zu wenig, drum frag ich hier
„Leaves are falling words from the earth. Spoken in silence. Never heard.“
0
Ties-Malte
Ties-Malte07.09.0716:55
Die links verweisen ja auf Automator-Aktionen.
„The early bird catches the worm, but the second mouse gets the cheese.“
0
ollerich
ollerich07.09.0717:07
Ties-Malte<br>
Die links verweisen ja auf Automator-Aktionen.

genau, werde diese Actions mal anschauen... aber eine Pfannenfertige Lösung wäre natürlich schöner
„Leaves are falling words from the earth. Spoken in silence. Never heard.“
0
_mäuschen
_mäuschen07.09.0718:56

a simple folder action

on adding folder items to this_folder after receiving added_items
repeat with i from 1 to number of items in added_items
set this_item to item i of added_items
tell application "TextEdit"
open this_item
set filename to name of (info for this_item)
save first document as "RTFD" in file ((path to desktop folder as text) & filename & ".rtfd")
close first document
end tell
end repeat
end adding folder items to

0
_mäuschen
_mäuschen12.09.0716:13

Gewünscht wurde ja@@doc zu .txt
nicht rtfd


property save_button : "Sichern"
on adding folder items to this_folder after receiving added_items
repeat with i from 1 to number of items in added_items
set this_item to item i of added_items
set filename to (name of (info for this_item) as string)
tell application "TextEdit"
open this_item
tell application "System Events" to ¬
tell application process "TextEdit"
set frontmost to true
keystroke "t" using {command down, shift down}
if exists button "OK" of sheet 1 of window 1 then ¬
click button "OK" of sheet 1 of window 1
delay 1
keystroke "s" using {command down, shift down}
delay 1
keystroke filename
delay 1
if exists button save_button of sheet 1 of window 1 then ¬
click button save_button of sheet 1 of window 1
delay 1
if exists button save_button of sheet 1 of window 1 then ¬
click button save_button of sheet 1 of window 1
delay 1
end tell
close first document
end tell
delay 1
end repeat
end adding folder items to

0
ollerich
ollerich12.09.0716:55
vielen Dank, _mäuschen!
„Leaves are falling words from the earth. Spoken in silence. Never heard.“
0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.