pickWalk not working for my selection

I am trying to do a particular selection in which it will keeps selecting the next item of the same node type until it came to the end of the list.
The node type selection I am going for is kPluginDependNode.

I tried using the command pickWalk, but it does not seems to work at all.

Any solutions?