IGNORESPACES=1 breaks Separate

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

IGNORESPACES=1 breaks Separate

Post by Jerry Thomas » Tue Oct 12, 2010 11:23 pm

If IGNORESPACES =1 then Separate does not work correctly.

Code: Select all

GetWindowList>strOpenWindows

Let>IGNORESPACES=1
  Separate>strOpenWindows,CRLF,lstOpenWindows
  Let>x=lstOpenWindows_count

Let>IGNORESPACES=0
  Separate>strOpenWindows,CRLF,lstOpenWindows
  Let>y=lstOpenWindows_count
In the 1st example, x = 0. In the second, y = 10.

Is there a reason for this, or can we add this to the bug list?
Thanks,
Jerry

[email protected]

olllllliii
Pro Scripter
Posts: 60
Joined: Tue Dec 22, 2009 9:51 am
Location: Mannheim ( Germany )
Contact:

I Think its a bug

Post by olllllliii » Wed Oct 13, 2010 10:04 am

After Set Ignorespaces=1 the Separate command does not work correctly.

there is nothing to count in variable lstOpenWindows. So it cant count
something. The variable is empty . If u set Ignorespaces after the
Separate command .....like this ( i know thats not what u want )

GetWindowList>strOpenWindows
Separate>strOpenWindows,CRLF,lstOpenWindows
Let>IGNORESPACES=1
Let>x=lstOpenWindows_count
MessageModal>%x%

It works correct ... I Think its a small bug :-)
Oliver Hilger Mannheim
alias Olllllliii

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 Oct 13, 2010 10:44 am

This is fixed in development. Related to another recently reported issue.
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