Subscribe Bookmark RSS Feed

[JSL] How to know the number of open graph/analysis

gbu

Community Trekker

Joined:

Jun 23, 2011

Hi everybody,

Is it possible to know with a JSL command the number of analyses, graph open with JMP ? (like Ntable() function for data tables).

The aim is to create a script to get analysis, graphs and put them automatically in a journal to create a report and generate a pdf file.

Thanks

Regards,

Guillaume

2 REPLIES
ms

Super User

Joined:

Jun 23, 2011

I am not aware of a command that exclusively return report windows.

The script below gives the number of non-data-table windows. The -1 acounts for the current script window. However, it gives only a rough (maximum) estimate of the number of reports, as the log, JMP starter, dialogs, journals or other scripts that are opened will also be included in the count.

It may be possible to identify and count any non-report windows by looping through all open windows with some smart syntax (that so far has escaped me).

nitems(window())-ntable()-1;

gbu

Community Trekker

Joined:

Jun 23, 2011

Thanks for this answer, I will try this.