Startseite › Foren › Deutsches LiveCode-Forum › shell() geht nicht wie erwartet › Antwort auf: shell() geht nicht wie erwartet
Januar 13, 2020 um 21:42 Uhr
#18187
Hallo Klaus,
Deine Erinnerung war richtig. Ich habe mein anfängliches Script modifiziert und es läuft! Danke!
put "/users/hillen/Desktop/inter.pdf" into fn
put "/usr/local/bin/pdftotext " & fn into Kommando
if there is not a file fn then
answer "File nicht vorhanden!"
exit to top
end if
get shell(quote & Kommando & quote)
answer it & return & return & the result