Authorities say the gunman, armed with an AR-15-style semi-automatic rifle, appeared to have acted alone in what is the first assassination attempt on a president in decades.