Craig Mazin has a good article on Artful Writer today about whether screenwriters are better off pitching their ideas, or just writing the script and trying to sell it as a spec. I largely agree with his points.
Keep in mind that Artful Writer is geared towards screenwriters who are already working in the industry, so the pitch-versus-write decision wouldn’t be the same for most aspiring screenwriters.