I have a set of abbreviated department names. I need to create a script which can map these abbreviations with their official titles. (For example: ADMIN → Administration)
In Java I could accomplish this using a HashMap.
public static void main() {
HashMap hm = new HashMap(); // create hash map
hm.put("ADMIN", "Administration"); // add elements to hashmap
hm.put("RAD", "Radiologist");
hm.put("TECH", "Technician");
System.out.println("ADMIN is an abbreviation for " + hm.get("ADMIN"));
}
Is there an equivalent solution for this in AutoHotkey?