Enable Alpha & Specular Color for textures through python
To set MaterialTextureSlot.use_map_alpha on all texture slots on all materials.
    import bpy

for mat in bpy.data.materials:
    for ts in mat.texture_slots:
        if ts is not None:
            ts.use_map_alpha = True
            ts.use_map_color_spec = True