Select some item of...
Select some item of...
- Subject: Select some item of...
- From: Peter Beentje <email@hidden>
- Date: Mon, 3 Nov 2003 21:00:01 +0000
I've written a couple of scripts that select a randomly selected item
from a load of items (eg "set lineA to some paragraph of document.txt")
and do various things with them.
In Jaguar the random generator reset every time I restarted - and
changing a single line of the selected document would mean I got a
different run of results.
In Panther, the same 'random' lines from the documents are generated
every time - the RNG resets every time I use the script.
Is there any way of getting a seed from another application for the RNG
that would lead it to a more truly randomly selected line?
-Pete
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.