Hi!

I want to use Javascript to programmatically control a NetLogo Web app. 

I can use Javascript to click NetLogo buttons, to run static NetLogo code.

I can use Javascript to populate NetLogo input boxes, but NetLogo does not 
recognize the value in an input box unless I manually click the input box.

I can use Javascript to populate a NetLogo input box with NetLogo code. If 
I can get NetLogo to recognize the updated variable from the input box, 
then I can click a button to tell NetLogo to run the code assigned to that 
variable.

Any ideas?

Thanks!

On Tuesday, March 25, 2014 at 11:27:46 AM UTC-5, Seth Tisue wrote:
>
>
> A. Sundararajan from the Nashorn team has made this repo 
> showing how to use NetLogo's Controlling API from JavaScript 
> running on the JVM (specifically, using Nashorn on Java 8): 
>
> https://github.com/sundararajana/NetLogoNashornExample 
>
> It's mostly straightforward but there's a tricky bit involving 
> classloaders that he got right so you don't have to. 
>
> -- 
> Seth Tisue | Northwestern University | http://tisue.net 
> developer, NetLogo: http://ccl.northwestern.edu/netlogo/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to