[quote=“SenseTalkDoug”]The code you’ve shown should work to create a file, although it will contain the words “startTime” and “stopTime” rather than the values you want. One way to write the start and stop time values would be like this:
set file "/tmp/testresult.txt" to startTime & return & stopTime
Another approach would be to use the merge function to substitute the values:
set file "/tmp/testresult.txt" to merge of {{
[[startTime]]
[[stopTime]]
}}
Does that help?[/quote]
Thanks, they both work well.