cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

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

lala
Level VIII

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 VIII


回复: 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