Counting number of selected items

Hi all,

I use {TICKET ORDER COUNT EXP:(MT.PrintTarget=Kitchen)} to count the number of items being sent to a specific delivery point when printing a set of items.

I use the above for all items sent to kitchen and
{TICKET ORDER COUNT EXP:((MT.PrintTarget=Kitchen) AND (OS.Status=New))}
For NEW items sent to kitchen.

I’m trying to implement a "print selected items button. Is there a way of counting only the selected items that i can substitute for the above ?

Thanks again!

There is a {SELECTED ORDERS} expression but not sure on the output and if it has paramiters, they are usually indicated by a :X at the end.
Think its just a count…

Perhaps you could work arround and in automation for the button update a new custom order state for selected=true, add that to your expression above in template, print then remove that order state afterwards. That should work…