The correct fix for mdar's code is... /varset ItemsHave ${FindItemCount[=${Cursor.Name}]} Instead of... /varset ItemsHave ${FindItem=${Cursor.Name}} This error was because of a missprint in the Manual, the example doesn't show "Count" in the command. Works great with that slight change.