- Code: Select all
tell application "IndigoServer"
set photoNumber to the value of variable "PhotosCount"
set randomNumber to (random number from 1 to photoNumber)
set the value of variable "Photos" to randomNumber as integer
end tell
Appreciate any help.
Thanks.
Carl