Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
bewegtbildbau
bewegtbildbau's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
problems with open()
[2 Replies]
10-Oct-2011 07:27 AM
Forum:
Integration and Hardware
Hi,
I want to convert PDFs to TXTs with pdftotext on a MAC. It runs fine from the terminal but I cannot find a way to make it work with open(). It opens up pdftotext AND the PDF but what I want is to use the PDF file as an argument for pdftotext.
File dir;
String[] dateien;
void setup() {
dir = new File("/Users/erik/Desktop/planpdfs");
dateien = dir.list();
for (int i=0; i<dateien.length; i++) {
String[] aufruf = {"/usr/local/bin/pdftotext", "/Users/erik/Desktop/planpdfs/"+dateien[i]};
open(aufruf);
}
}
I would appreciate any help.
Thanks
Erik
«Prev
Next »
Moderate user : bewegtbildbau
Forum