Hi ...
You should be able to do that using the "Cap Last Word" command as the definition for your KP-UPB stroke, like so: {*-|}
Unfortunately, I don't think there is any support for capitalizing more than one previous word -- yet.
I had to dig that one out from here:
Hope that helps a bit ...
--gdw