/****** key Pressed Control keyCode *******/ int x,y,t; Process p; void setup(){ size(640,480); x=0;y=300;t=100; } void draw(){ background(255,255,255); } void keyPressed(){ if (key=='B' || key=='b') p=exec("firefox","http://www.ksu.edu.tw"); else if (key=='E' || key=='e') p.destroy(); }