Random numbers in ASOC


How can I get a random integer value between i and j ? The Applescript command does not work.

Thank you!

This works: log current application’s (random number from 1 to 10)

I’m not sure why it needs the “current application’s”, but that makes it work.


Well.“There is an explanation for this, you know”, as Ash would say. Anyway, it works.

Thank you Ric, I’ll take another giant leap in my app.