Set a quickbar filter for let's say basic inserter. Hold an inserter in the cursor stack, press 'q' to clear the stack and the inserter goes where it belongs.
Now hold the inserter again and change the cursor stack to something else:
Code: Select all
game.player.cursor_stack.set_stack{name="iron-plate"}
It's probably not intended that this is possible, even with scripting, since calling set_stack on a filtered slot with a wrong item returns false and does not set the item.