Is there a way to write a single function to map an object based on the type of control?
For example, I do this for a Yes button:
function YesBtn() { return Aliases.[App].Find("MappedName", "*.btnYes", 5, true); }
Is there a more efficient way to do this so I can find buttons of all types using a single function, rather than mapping each button separately? This is easy enough, but if I can save space and avoid doing this for every single object, I'd prefer to do it that way.
Thank you.