I have script that I found on the web that close to my need. and I'm trying to modify this code so when I select 1,2,3 from menu other relative value like "a,b,c" will be printed instead?
so I need help with script to apply this logic.
Code: Select all
TextMenu(TextOptions)
{
StringSplit, MenuItems, TextOptions , -`,
Loop %MenuItems0%
{
Item := MenuItems%A_Index%
Menu, MyMenu, add, %Item%, MenuAction
}
Menu, MyMenu, Show
Menu, MyMenu, DeleteAll
}
MenuAction:
SendInput %A_ThisMenuItem%{raw}%A_EndChar%
Return
::cur::
TextMenu("1,2,3")
Return
}
![Smile :)](./images/smilies/icon_e_smile.gif)