Indenting makes Script non-working

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Tester
Junior Coder
Posts: 22
Joined: Fri Mar 20, 2009 2:48 pm

Indenting makes Script non-working

Post by Tester » Wed Jul 01, 2009 2:57 pm

When I indent some code with spaces to have some grouping like:

Code: Select all

IF>Question=True
   Do something
Else
   Do something else
EndIf
some commands doesn't work, like

Code: Select all

   IE_Create>0,IE[0]
that is not executed when the line begins with spaces!

Any suggestions?

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

Post by Marcus Tettmar » Wed Jul 01, 2009 3:56 pm

Which version do you have. Note from the history list:
http://www.mjtnet.com/mswhatsnew.htm
Version 10.1.16 24/06/2008

Fixed: Imported DLL functions do not work when indented
...
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
Sign up to our newsletter for free automation tips, tricks & discounts