Sell execute w

Hello is there any programmer here  who knows  how   to use shell execute W  with button commands?