sunflash
Aktives Mitglied
Thread Starter
- Dabei seit
- 16.06.2009
- Beiträge
- 358
- Reaktionspunkte
- 12
Hallo allerseits.
ich habe ein PDF-Dokument welche ich mittels eines Skriptes entcrypten möchte. Allerdings funktioniert das Ganze nicht. Hat jemand eine Idee, was ich falsch mache? Er sagt mir immer no such file or directory.
ich habe ein PDF-Dokument welche ich mittels eines Skriptes entcrypten möchte. Allerdings funktioniert das Ganze nicht. Hat jemand eine Idee, was ich falsch mache? Er sagt mir immer no such file or directory.
Code:
set this to the POSIX path choose file with prompt "Select PDF-file to clean:"
set this_path to the POSIX path of this
#display dialog (this_path)
do shell script "/Users/xxxxxx/Desktop/1234/mupdf/pdf_crypt.c " & this_path & " " & this_path & "_unrestricted.pdf"
-- or if the file is drag and dropped
on open these
repeat with this in these
set this_path to the POSIX path of this
#display dialog (this_path)
do shell script "/Users/xxxxx/Desktop/1234/mupdf/pdf_crypt.c " & this_path & " " & this_path & "_unrestricted.pdf"
end repeat
end open