We're going to have a source directory and a "final" directory. These will have mirrored folder structures but the source folder will contain master .psd files with different groups and such. The script I'm making takes that source file and saves out individual, reduced-size, compressed versions in the corresponding "final" folder.
That all works fine and great without any sort of extra P4 work. The problem we run into is that our artists have to go into perforce and open the source for edit and then open the final version for edit before they can do any saving. I'd like part of the script's process to be checking if the source or "final" are in perforce and, if not, ask to add it or, if it is, ask to check it out.
I just started digging into P4's Graphics Tools which may be a good solution. It has a few annoying quirks with our P4 setup but since it's open source, we can probably fix them.
Still, if you have any other ideas I'm still open to them. Nothing wrong with learning other alternatives.