For years, I have used Visual Basic 6 to control Photoshop batching to create large numbers of images (often more than 100,000). There have been occasional wrinkings when upgrading through the various Photoshop versions (beginning with CS2), but the thousands of lines of VB code I have written have proven reusable until now. I recently upgraded to CS6 and Windows 8 and found (to my dismay) that VB6 is no longer supported, and only partially functional, under Windows 8. Also CS6 appears to have lost some of it's scripting functionality.
The sticky problem is that I can only create one instance of the Photoshop.Application object. I must close Photoshop and allow the scripting code to open it (otherwise, I get an "unable to create ActiveX" error). Then, after creating the photoshop object, it is only partially functional. I can't, for instance, drag in files from a folder (drag and drop is disabled). I have to restart Photoshop first.
Searches through the internet resources have drawn blanks. Has anyone else encountered this problem? I could have posted this question in at least four forums... but I suspect the problem lies with CS6.
Add water (makes its own sauce).
The sticky problem is that I can only create one instance of the Photoshop.Application object. I must close Photoshop and allow the scripting code to open it (otherwise, I get an "unable to create ActiveX" error). Then, after creating the photoshop object, it is only partially functional. I can't, for instance, drag in files from a folder (drag and drop is disabled). I have to restart Photoshop first.
Searches through the internet resources have drawn blanks. Has anyone else encountered this problem? I could have posted this question in at least four forums... but I suspect the problem lies with CS6.
Add water (makes its own sauce).