Was trying to figure out a good way to do this when I realised selected options dont have any actions, so it was easier than I thought.
UtilWidget.java
/**
*
* @author Tom
* https://osbot.org/forum/profile/149713-tom/
*/
public class UtilWidget {
@SuppressWarnings("unchecked")
/**
* Select the correct mode in the Make All interface
* @param i The script instance
* @param mode The mode you would like to set it to
* @param custom Whether or not the provided opt