To sample trials in the desired proportions (7:7:10), you must simply enter them to the noreplace selection pool in the desired proportions. In your case that's
<block myblock>
/ trials = [1-24=noreplace(
category1,category1,category1,category1,category1,category1,category1,
category2,category2,category2,category2,category2,category2,category2,
category3,category3,category3,category3,category3,category3,category3,
category3,category3,category3)
]
[...]
</block>
Regards,
~Dave