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

Discussion, questions and support.
Post Reply
jcfastkeys
Posts: 15
Joined: Sep 4th, ’21, 23:26

Post by jcfastkeys » Oct 7th, ’21, 16:49

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:=""
User avatar
Marko
Posts: 1409
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Oct 8th, ’21, 17:04

Due to internal design, Auto Complete currently cannot handle Com objects.
Post Reply