Page 1 of 1

Getting An outgoing call cannot be made since the application is dispatching an input-synchronous call

Posted: Oct 7th, ’21, 16:49
by jcfastkeys
I have two identical scripts. In Text Expander Command it works OK. In Auto Complete Command I get the error
An outgoing call cannot be made since the application is dispatching an input-synchronous call. Why the difference?

Text Expander Command
m:=ComObjCreate("Outlook.Application").CreateItem(0)
m.Subject:=" "
m.To:=" "
m.Body:=" "
m.Attachments.Add("C:\Users\JC\OneDrive - Ecall Ontario\1 LL Files\CANAM eCALL\Brochures\1-21 Info - Wireless Call Bells direct to Pagers.pdf")
m.Display
m:=""

Auto Complete Command
m:=ComObjCreate("Outlook.Application").CreateItem(0)
m.Subject:=" "
m.To:=" "
m.Body:=" "
m.Attachments.Add("C:\Users\JC\OneDrive - Ecall Ontario\1 LL Files\CANAM eCALL\Brochures\1-21 Info - Wireless Call Bells direct to Pagers.pdf")
m.Display
m:=""

Re: Getting An outgoing call cannot be made since the application is dispatching an input-synchronous call

Posted: Oct 8th, ’21, 17:04
by Marko
Due to internal design, Auto Complete currently cannot handle Com objects.