How can i have the execution time of some set of scripts return into a variable and bring it as pop up to the user.
Eg: Script Line no: 40 to 50 has to be run and the execution time for that alone has to be return in a variable and passed as Pop up.
You can time any sequence by doing semething like this:
put now into startTime
-- do some stuff here
put now - startTime into totalTime
answer "Time to execute:" && totalTime