June 2001
Intermediate to advanced
526 pages
16h 29m
English
some
tell app "Sherlock 2" to get some channel
some returns a random object from a container.
This might be useful if you are randomly selecting images for display
from a directory. The script could state:
set ranImg to some file of folder "images" where (name ends with ".gif")
The ranImg variable would then be set to a random
.gif file that is stored in the
images folder. The return results are in any
event far less predictable than specifying files by name or property
values.
Read now
Unlock full access