JSL Scripting automating the automation<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Creating many jsl script which generates a bunch of reports which saves themselves as .html (interactive) and dreamweaver uploads to report center web site. But trigger still needed, me myself to open and run those scripts.
Is there a script for the scripts to run themselves in a periodic interval (let's say every 20 mins or hour) so I can concentrate on my other duties?
Many thanks in advance
Re: JSL Scripting automating the automationYou could use the WHILE statement with essentially an infinite loop. To break out of this hit the ESC key.
while (1 == 1,
nw = New Window( "Island Sales Performance Report",
.
.
nw[Outline Box( "CUMULATIVE REVENUE CURVE" )] << Close( 1 );
wait(1200);
);
Re: JSL Scripting automating the automationThank you!
My scripts generally start and end as;
Where and how should I replace it?
Many thanks.
nw = New Window( "Island Sales Performance Report",
)
)
)
)
);
nw[Outline Box( "CUMULATIVE REVENUE CURVE" )] << Close( 1 );
Re: JSL Scripting automating the automationYou could dedicate a JMP window and use the wait(seconds) command to do something periodically.
wait(1200) // will pause for 20 minutes
wait(3600) // will pause for an hour