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 › passing String variables via Keyboard
Page Index Toggle Pages: 1
passing String variables via Keyboard (Read 248 times)
passing String variables via Keyboard
Mar 20th, 2009, 10:08pm
 
I`ve made an application which uses images from internet.
The URL`s for downloading them are hardcoded for now, but it can`t stay this way.
And I can't find no good way to pass different variables for those URLs. Could you please give me a hint?

Textfile is ugly, and I`d prefer not to use <PARAM> tag, since I need to learn javascript or php just for changing that (And then I couldn`t test my code inside processing, right?)
Re: passing String variables via Keyboard
Reply #1 - Mar 20th, 2009, 11:02pm
 
Change them in the code and re-run in the PDE...

Alternatively, use controlP5 or similar GUI library.
Re: passing String variables via Keyboard
Reply #2 - Mar 21st, 2009, 8:11am
 
Thanks,
GUI libraries was what I`ve missed!
Page Index Toggle Pages: 1