cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Citizen_Snips
Level II

Possible to have title bar display full file path?

Is it possible to have the title bar display the full file path rather than just the filename?

4 REPLIES 4
txnelson
Super User

Re: Possible to have title bar display full file path?

Is this what you are talking about?

txnelson_0-1676400333025.png

If so,  this is how to do it

Names Default To Here( 1 );
dt01 = Open( "$SAMPLE_DATA/Big Class.jmp" );

bivariate( x( :height ), y( :weight ) );

// Once the report is generated, this JSL will change the title 
// to the path
thePath = dt01 << get path;
Current Report()[Outline Box( 1 )] << set title( thePath );

 

Jim
Citizen_Snips
Level II

Re: Possible to have title bar display full file path?

@txnelson 

 

That answers my question in the case of a report, but can it be done for a data table? Ideally I'd the Windows title bar to display the full file path and filename.

 

txnelson
Super User

Re: Possible to have title bar display full file path?

The Windows title bar for a data table only lists the table name.  Given that, you technically can change the name of your data table to be the complete path

txnelson_0-1686951755453.png

 

 

Jim
Craige_Hales
Super User

Re: Possible to have title bar display full file path?

Here's a slightly flawed solution:

dt = Open( "$sample_data/big class.jmp", Invisible );
New Window( dt << getpath, dt << New Data Box );
  • The window has a small space above.
  • The window thinks it is a report, not a table. The needs-to-save check does not work right.
  • When the window is closed, the invisible table remains open. You might add an OnClose to fix that.
Craige

Recommended Articles