I've been writing some simple scripts to learn a bit more about Python. Yesterday I wrote this one to batch process font families with TTFAutohint in the Mac. It is useful for me and maybe for someone else.
#(re-type.com) Generate and execute the code to batch process a bunch of fonts with TTFAutohint
#IMPORTANT: You must name your fonts this way: fontname-weight.ttf
font_name = raw_input("Write the font name: ")
font_family = 
number_of_weights = int(raw_input("Write the number of weights: "))
weight = raw_input ("Enter the name of your font weights one by one: ")
if len(font_family) == number_of_weights:
input_directory = raw_input("Write the directory where your input fonts are located: ")
for n in font_family:
run_ttfautohint = "ttfautohint -v -f latn -n -w gGD "+input_directory+font_name+"-"+n+".ttf"+" "+input_directory+font_name+"-"+n+"-HINTED"+".ttf"