/Eval

AHK Function to evaluate expressions dynamically in strings.

Primary LanguageAutoHotkeyThe UnlicenseUnlicense

Eval()

Evaluate Expressions Dynamically in Strings.

Credits

ExprEval() by Uberi

Return

An array (object) with the result of each expression.

Parameters

String:

The input string to be evaluated. You can enter multiple expressions separated by commas (inside the string).

CustomVars [optional]

An Associative Array object containing variables names as keys and values to replace them. For example, setting it to {A_Index: A_Index} inside a loop will replace occurrences of A_Index with the correct value for the iteration.