You use the thief gloves which can be purchased at the thief at the dock. Use them to snoop vendors. When successful, you will open their bag which will contain items you can steal. Use the stealing skill to then steal the items out of their bag.
If you mean how to macro them, that’s a longcomplicated story. 😛