April 27, 2016 at 12:35 pm
#4957
Moderator
The best way to do that is to put the code into a sub routine. Build a rule that detects when to call the routine, edit the actions for the rule and call the routine.
If the routine was called "SelectLine" then your rule's Action would be:
SelectLine