BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
jorgeramosdealm
Community Trekker

Autosave

Is there some kind of autosave for scripts and tables? I could not find it and after losing lines of code I wrote the following

 

 

mypath =
"$sample_data/";
scr = Window( "script.jsl" );
scrr = scr[Script Box( 1 )] << get text;
Save Text File(
  mypath || (scr << Get window title ; ),
  scrr
);
aus = Window( "Autosave" );
saus = aus[Script Box( 1 )];
Delete Symbols( scr, scrr, aus );
Schedule( 360, saus << run() );

 

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Autosave

See Help > Help. Search for "autosave". Found:

 

Consider setting the Autosave Timeout value in the General preferences to automatically save data tables at the specified number of minutes. This autosave value also applies to journals, scripts, projects, and reports.

Learn it once, use it forever!
0 Kudos
1 REPLY 1

Re: Autosave

See Help > Help. Search for "autosave". Found:

 

Consider setting the Autosave Timeout value in the General preferences to automatically save data tables at the specified number of minutes. This autosave value also applies to journals, scripts, projects, and reports.

Learn it once, use it forever!
0 Kudos