WEST PALM BEACH, Fla. — Susan Spencer-Wendel, the writer whose best-selling book “Until I Say Goodbye” chronicled her fight to live joyfully as she battled ALS, Lou Gehrig’s disease – died Wednesday at her home in West Palm Beach, her husband John Wendel said. She was 47.

Spencer-Wendel was a well-regarded court reporter for The Palm Beach Post when she first noticed a change in her health in 2009. It would be two years before she was diagnosed, but by then she had made up her mind: She would live her remaining days as best she could, travel the places she dreamed of going and complete a long goodbye to those she loved.

She went to California to find her birth mother; to New York, where her teenage daughter tried on wedding dresses for a glimpse of a day they’ll never share; to Budapest, where she and her husband retraced footsteps of an earlier life; to the Yukon, in a vain attempt to see the Northern Lights with her lifelong best friend; to the Caribbean, to Cyprus, and on and on.

Along the way, she wrote stories about two of her trips for the Post that caught the eye of HarperCollins, which gave her a $2.3 million deal, and Universal Pictures, which followed with a seven-figure offer of its own.

She sprinted to continue her travels and to put them in writing, tapping out most of her book on her iPhone using just her right thumb. After its release last year, it briefly hit the best-seller lists of The New York Times, The Wall Street Journal and Publisher’s Weekly.

She continued to write to the very end, using her nose to type final messages.