Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Count Open Windows Not Working?

Featured Replies

Hi,

 

This calculation stopped working for some reason.

 

ValueCount ( WindowNames ( Get ( FileName ) ) ) > 1

 

I clearly see; and count two open windows on the datafile ...

 

So I put this: ValueCount ( WindowNames ( Get ( FileName ) ) ) in a message box to see the results and I get "0".

 

Huh ...??? Odd ???

 

Can anybody help me here.  It was working, I would not have used this in my script if it didn't work ... and all the forum post say to use the above calculation to count open windows on the datafile.

 

Anyway, any guidance would be grateful.

 

Thank you.

 

Tom :-)

  • Author

Hi,

 

I just figured it out what we've been doing wrong.  We have been testing the solution, and we would copy the datafile and change the file name slightly each time we started a new test ... 

 

FileName (Mar13.1Tst2a) 

 

Apparently, this file name was ignored yielding a ZERO count in the calculation.  Was it the parentheses ??

 

Anyway, thank you.

 

Tom :-)

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.