It's about calculating intermediate values - produced by a power - between two proposed values.
I get it to work in a simple sequence (the script I include) but I need those values to be adjusted proportionally to some proposed limit values, for example, from 605 to 730, that is, to calculate (following the example) the eight intermediate values between the first (605) and the last (730).
I hope I've been able to explain what I want. Thank you very much in advance and Happy 2019.
Fermin
Translated with DeepL
--------------------------------
Code: Select all
on mouseup
put 10 into nSteps -- Number of Steps
put 1.8 into ePower -- Increment Manager
--
put 605 into vFirst -- Value of the first step (to use in the missing code)
put 730 into vLast -- Value of the last step (to use in the missing code)
-----
repeat with a = 1 to nSteps
put a^ePower into v1
put a && "___" && v1 into line a of ccc
end repeat
put ccc
end mouseup