Error trying to create dialog

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
jpalic
Newbie
Posts: 17
Joined: Fri Aug 01, 2008 6:32 pm

Error trying to create dialog

Post by jpalic » Thu Oct 16, 2008 7:03 pm

Every once in a while, one of our compiled scripts gives a "Error trying to create dialog" error.

I've not been able to discern what might be causing this. Are there any general hints as to what might generate this sort of occasional error?

TIA,

Jim Palic

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Oct 16, 2008 7:44 pm

The most likely cause (and the only one I can think of) is that your script is trying to create a dialog that has already been created. If you repeat your Dialog definition, or include it in a loop you will get this problem as you will be trying to create something that already exists. You should only ever create a dialog ONCE.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts