Run the macro then beging attacking the target you want, the lightning cannons do not pause to switch between them. So you will fire at pistol speed and do rifle damage.
Good job and thanks for finding that glvsave. I searched a few times for it and didnt find a thing. Now I know I wasnt imagining things when thinking I'd seen it already.