GetDialogProperty checkbox / checked sometimes report "NO_SUCH_PROPERTY"

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

GetDialogProperty checkbox / checked sometimes report "NO_SUCH_PROPERTY"

Post by Grovkillen » Mon Oct 22, 2018 7:29 pm

I have this script which gives me a headache because after some "GetDialogProperty" for a checkbox it starts to report NO_SUCH_PROPERTY. I cannot make a simple example which reproduce this behavior making me suspect its me doing something wrong. Have someone came about this problem before and would like to shed some light? If not maybe the support would like to look into my code over a team viewer session or something?
Let>ME=%Script%

Running: 15.0.24
version history

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

Re: GetDialogProperty checkbox / checked sometimes report "NO_SUCH_PROPERTY"

Post by Marcus Tettmar » Tue Oct 23, 2018 5:24 pm

My guess is you reference the property with a variable which may be getting set to something other than the property name.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: GetDialogProperty checkbox / checked sometimes report "NO_SUCH_PROPERTY"

Post by Grovkillen » Wed Oct 24, 2018 3:59 am

Thanks Marcus! That was it!
Let>ME=%Script%

Running: 15.0.24
version history

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