Here is the code I am using.
Code: Select all
global tLocList
function tLocList
set the loc of tLocList to the rec of this stack
end tLocList
on preOpenCard
repeat with i = 1 to 10
put the loc of button i & CR after tLocList
end repeat
delete char -1 of tLocList
sort lines of tLocList by random(100)
repeat with i = 1 to 10
set the loc of button i to line i of tLocList
end repeat
end preOpenCard
Mark