cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles