cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
carole
Level III

Close journal window with JSL

Hello, I want to save and close my journal window with JSL 7.0.2 : Current Journal() << Save Journal(strPathSave); //this sentence works and saving is ok
Current Journal() << Close Window(nosave); //here a dialog ask if i want to save or not changes on my journal, how can i do not to have it (it stops my script with the dialog)

Thanks !

Message was edited by: Carole
2 ACCEPTED SOLUTIONS

Accepted Solutions
gh
gh
Level III

Re: Close journal window with JSL

too easy
current journal() << close window();

View solution in original post

carole
Level III

Re: Close journal window with JSL

Thanks, even if there is a message in the log, it seems to work...

View solution in original post

2 REPLIES 2
gh
gh
Level III

Re: Close journal window with JSL

too easy
current journal() << close window();
carole
Level III

Re: Close journal window with JSL

Thanks, even if there is a message in the log, it seems to work...