Code: Select all
list_search.string("ish", "combobox5", "Font")
x := list_search.returnstring
control, choosestring, %x%, combobox5, Font
Code: Select all
list_search.string("ish", "combobox5", "Font")
x := list_search.returnstring
control, choosestring, %x%, combobox5, Font
Code: Select all
list_search.string("ish", "combobox5", "Font")
control, choosestring, % list_search.returnstring, combobox5, Font
https://www.autohotkey.com/docs/Variables.htm#Expressions wrote:Force an expression: An expression can be used in a parameter that does not directly support it (except OutputVar parameters) by preceding the expression with a percent sign and a space or tab. In [v1.1.21+], this prefix can be used in the InputVar parameters of all commands except the traditional IF commands (use If (expression) instead). This technique is often used to access arrays.
wow that worked perfectly, thank you!gregster wrote: ↑10 Nov 2019, 22:13Try to force an expression:Code: Select all
list_search.string("ish", "combobox5", "Font") control, choosestring, % list_search.returnstring, combobox5, Font
https://www.autohotkey.com/docs/Variables.htm#Expressions wrote:Force an expression: An expression can be used in a parameter that does not directly support it (except OutputVar parameters) by preceding the expression with a percent sign and a space or tab. In [v1.1.21+], this prefix can be used in the InputVar parameters of all commands except the traditional IF commands (use If (expression) instead). This technique is often used to access arrays.