Edit layers with scripting

I currently have multiple layers in a Pointools project that are different pathways.  Is there a way to use scripting along with the notes to turn the color of the layer on and off or turn the layer itself on and off?  Essentially I would like to click the note that says "Take route 1" and route 1 would change color so the user can now follow that path. I cannot find a lot of info regarding scripting in Pointools but know the option is there.