I want to write a program that changes the foreground color, selected tool, etc. without having to use things like macros and actions. I’m developing on Windows. Any ideas or resources?
Since the COM API can set the foreground color with Application.ForegrounColor, no problems whatsoever. Need to call form your app? Use COM. Need to attach to exel? Use use COM.
This is way more simpler than working with sockets, but has the downside of ONLY working on Windows. The c++ API is meant to let Photoshop eat your application not the other way around while the COM bridge is just a fancy way of handling inter process communication in a way that generates the needed API automatically on the fly.