Sentence:  As luck <WSD>had</WSD> it , he had not gone twenty feet in the street before Pat appeared . 
Meaning of the word marked with <WSD> tags:  cause to do; cause to act in a specified manner