Photoshop Automation Error

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

yogiyang

Photoshop Automation Error

Post by yogiyang »

Hello,

It is after a long time that I have to post again for help.

I am trying to automate Photoshop using VB6.

I am executing this code:
Code: Select allDim objApp

Set objApp = CreateObject("Photoshop.Application")

But on executing this code I am getting this unusual error that I have never received till date!
Error Number: -2147417843
Automation error
An outgoing call cannot be made since the application is dispatching an input-synchronous call.


I am using PS CS3

The most unusual thing is that I get this error only when Photoshop is active and this code gets executed. But if my software which is automating PS is active and if this code is executed it just works fine without any problems.

Can someone tell as to what does this mean and how can I solve it.

TIA

Yogi Yang