cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
ComplexNerd
Level III

Jmp project all open reports

Hello guys,
I started using jmp project recently. I want to write a script which loops through all reports in the project and perform a action and update the report. Any idea on how to go about this kindly support
Thanks in advance
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Jmp project all open reports

You can use Get Window List to get list of all the open windows inside the project and them loop over them using For Each loop

Names Default To Here(1);
project = Open("$SAMPLE_PROJECTS\Big Class.jmpprj");
reps = Get Window List(Project(project), Type("Reports"));
For Each({rep}, reps,
	Show(rep << get window title);
);
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Jmp project all open reports

You can use Get Window List to get list of all the open windows inside the project and them loop over them using For Each loop

Names Default To Here(1);
project = Open("$SAMPLE_PROJECTS\Big Class.jmpprj");
reps = Get Window List(Project(project), Type("Reports"));
For Each({rep}, reps,
	Show(rep << get window title);
);
-Jarmo