write values to a file(text)

asha shared this question 2 months ago
Answered

Hi, Is it possible to write values, say the length of a line in the geogebra file to a text file using javascripts? I want to do this continuously when an element is updated.

Comments (4)

photo
1

try attached

photo
1

Thanks. could you give an overview of what is happening in this sample?

photo
1

sorry, i don't speack english.

f= segment EF


text1: f= [f in objects>(empty box)]


draw linea g point E,G


with tool angle draw angle GEF


in text2: RotateText(text1, α)

pointH=Midpoint(E, F)


position text2: starting point H

photo
photo
1

ie: you can trace the value of segment to spreadsheet then copy and paste to excel

© 2019 International GeoGebra Institute