Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
florian.b
florian.b's Profile
1
Posts
1
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
selectInput()
[2 Replies]
29-Feb-2012 02:47 AM
Forum:
Core Library Questions
Hej,
i try to use the selectInput() function for loading filePath by keyReleased(). This works for 1-4 times but than the sketch interrupt without any print to console line.
This is almost the code i want to use (the selectInput() example code):
String loadPath;
void setup() {
size(100,100);
}
void draw() {
}
void keyReleased() {
if (key == 'o' || key == 'O') {
loadPath = selectInput();
if (loadPath == null) {
println("No file was selected...");
}
else {
println(loadPath);
}
}
}
Maybe someone have an Idea.
Greetz
Flo
«Prev
Next »
Moderate user : florian.b
Forum