Here it is, as an attached text file. I think it's self-explanatory. Get your magnets set up; activate the script; hit Go. It pops up a file dialog for your specific directory runtime/libraries/pose/!MAT-Pose Enter a name. When you hit OK, the pose file is saved. As I mentioned in IM, Poser doesn't like the taste of the resulting file, and gives an "invalid Poser file" error, but it applies the scale and other parameters anyway!
My python page
My ShareCG freebies