cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lala
Level VII

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 VII

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