AHK variable lookup into abbreviation list

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
mich_

AHK variable lookup into abbreviation list

17 Jul 2018, 21:43

Hello,

I know I can acheive this with lot of if statement but I am looking for a better way to do this.

My variable store an abbreviation and I need to convert this abbreviation to the good word.

To make it simple let says it is the USA States.

Variable XYZ store NY
Variable XYZ2 return New York

I need to have a list of abbreviation = word and variable XYZ2 search in this list to find the good word.

Any help on this?

Thanks!
Freire
Posts: 16
Joined: 10 Dec 2017, 11:30

Re: AHK variable lookup into abbreviation list

17 Jul 2018, 23:56

Please refer to:
Associative Arrays

This is the object you want for your job.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 376 guests