Delas
1
I want to create a String triggered macro that contains a parameter inside the String for example:
Trigger:
$addPrefix:45
Action:
Insert text by typing:
PRE-%MY_PARAMETER%
Result:
PRE-45
Does this makes sense? I don't know how I can setup on the trigger that 45 will be set on the parameter: MY_PARAMETER
Thanks!
Tom
2
Like this?
Capturing String from Typed Trigger <D05E 200227T000734>.kmmacros (2.3 KB)
- Make sure the macro group, where the macro is in, is enabled.
- In the header of the macro, make sure the Triggered by checkbox is selected.
- Run the macro via its Typed String trigger.
The typed string will end with any space or line break.
Example:
Typed trigger string: $addprefix:123qwe
Result: PRE-123qwe
2 Likes