Spike Jonze's Her and Billy Ray's Captain Phillips have earned top screenplay honours from the Writers Guild of America.
Winning the prize for original screenplay was Her, Jonze's futuristic exploration of a man's relationship with his computer starring Joaquin Phoenix and Scarlett Johansson.
The victor of the guild's adapted screenplay went to Ray for Captain Phillips, the Somali pirate saga starring Tom Hanks, based on the book A Captain's Duty: Somali Pirates, Navy SEALS, and Dangerous Days at Sea by Richard Phillips and Stephan Talty.
Sarah Polley won the documentary award for Stories We Tell, a film about her parents and how the filmmaker was the product of an extramarital affair.
The Writer's Guild Awards are Hollywood's final honours before the Academy Awards on March 2.