Using Condition for Affixes

Discussion, questions and support.
Post Reply
User avatar
Marko
Posts: 1924
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Apr 21st, ’23, 14:30

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.
Post Reply