I don't know any IDE's that are made for mac other then the standard one, and the closest your going to get with scripting is using BLIde (zippy made a module to do low level interaction with BLIde, I haven't checked it out recently so it might do more.)