Page 1 of 1

Re: Using Condition for Affixes

Posted: Apr 21st, ’23, 14:30
by Marko
Use "Insert Command Code" macro instead and enter:

Code: Select all

 if (SubStr(INPUT_Name, -0)="y")
	Send, % SubStr(INPUT_Name, 1, -1) "ies"
else
	Send, % INPUT_Name
Use "No output" in the Input macro.