I have a script that I wrote (with the wonderful research help of this site and Xbytor's tools) that parses some pretty big PSDs, exports all the top-level folders as JPEGs, finds all the text layers, then tags them appropriately by content and exports the whole thing as an XML. I have then been manually importing that XML file into Shotgun, which is a web-based cinema project manager http://shotgunsoftware.com. My script isn't perfect, and I can't get the JPEGs and XML to generate at the same time, but in general it works pretty well.
But now I need to update it to solve some pipeline changes, and I want to sidestep a lot of hassle by exporting directly into Shotgun and letting Shotgun handle the data. The problem is that Shotgun access is through an API which can be called by Python (the preferred method), Java, C++, or Applescript. I'm working with my knowledge as basically a scripter, mostly in JavaScript. I know that I can (in theory) write a plugin in C++ to do it all at once, but that's a whole new language and if I have to learn one I'd rather learn Python (because I use Nuke a lot as well), but Python doesn't have direct Photoshop access. Unfortunately Macs are not possible for this task, so I can't use AppleScript either. That means, I think, that I need to somehow call a Java API from Javascript, or switch to a plugin, but I don't really know how to do either (though I'm ready to learn!)
Does anyone have a suggestion of what path to start down - or of a different direction to solve the problem? Shotgun's APIs can be found here http://shotgunsoftware.com/extras/ if you want to glance at it.
I really appreciate any help anyone can offer!
Den