We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Open web-pages repeatedly into same window (app)
Page Index Toggle Pages: 1
Open web-pages repeatedly into same window? (app) (Read 1116 times)
Open web-pages repeatedly into same window? (app)
May 13th, 2010, 3:42am
 
Hi there

I am trying to open web-pages repeatedly into same window when running Processing as an app. Unfortunately I can't seem to target the same window so it keeps opening new ones. Any ideas?

thanks
Christian

Code:
void setup() {
}

void draw() {
link("http://google.com","_top");
delay(5000);
link("http://yahoo.com","_top");
delay(5000);
}
Re: Open web-pages repeatedly into same window? (app)
Reply #1 - May 13th, 2010, 4:00am
 
Wild guess: try and replace _top by some name (MyWindow).
Page Index Toggle Pages: 1