cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
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