cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP 19 is here! See the new features at jmp.com/new.
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
Choose Language Hide Translation Bar
lala
Level IX

How can I use JSL to determine if the specified script has an open edit window?

For example, I open the script window for "C:\test.jsl".
How do I use JSL to determine if this script window exists?

dz = Open( "C:\test.jsl", Charset( "gb2312" ), Add to Recent Files( 0 ) );
Include( "C:\test.jsl" );

2024-05-02_18-23-49.png

Thanks!

2 REPLIES 2
lala
Level IX

回复: How can I use JSL to determine if the specified script has an open edit window?

In the debug window, does the JSL window not display the name as the data table?

jthi
Super User

回复: How can I use JSL to determine if the specified script has an open edit window?

<< Get Window Title might be enough depending on what you are doing

Names Default To Here(1);

sb = Open("$SAMPLE_SCRIPTS/bootstrapSample.jsl");
show(sb << Get Window Title);
-Jarmo

Recommended Articles