Tommy waved a menu cheerfully, and succeeded in attracting the other's attention.
Tommy cheerfully wave a menu and was able to get the other's attention.