Moving bone on a curve by length of curve

My rig uses a curve that changes shape and length. I have a bone that needs to stick to the curve, so I’m using a “Clamp To” constraint.

My problem is that I want to translate the bone in relation to the length of the curve, instead of global units.

For example, I want to set a position to 0 to keep the always at the beginning of the curve, .5 to put the bone in the middle of the curve, and 1 to the end of the curve.

Is there any way to do this?

One thing you might be able to do is use a follow path constraint instead, with fixed position, and rather than transforming the bone directly, using a driver on offset.

Thanks. That’s exactly what I was looking for.