Select "next active" automatically run until it can't select anymore?

Hi gang,

I use the select>next active tool all of the time and I almost always want it to run until it can’t select anything anymore. Basically run to infinity? Not sure how to say it.

bpy.ops.mesh.select_next_item()

I believe this is the code sorry, NOT a programmer, I was hoping someone might see this post and know how to make this run until it can’t select anymore? I use this so much and I hate holding down the hotkeys forever for it to finish. I would like this to just run and end.

Much appreciate ANY help on this.

Cheers.