Put an Item into reroll window and let it reroll to chosen stat.
Glove with: INT ATK SPEED CHC CHD
Now specify somewhere in options to reroll ATK SPEED -> VIT
Set: Vit has to be more than X amount.
Optional: Set if it should choose vit regardless of specified amount. Example: Vit should be more than 600 Now it rolls from ATK SPEED to 560 VIT. With checkbox on -> chose it and reroll further until VIT > 600 Without checkbox -> stay with ATK SPEED until a roll yields VIT > 600
Optional: Set amount of reroll materials which should be untouched, so it does not reroll you out of materials.
Go afk Come back with (hopefully) perfect rerolled stat