Bug 159082

Summary: javaScript settings in the Kst command line would be useful
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: scriptingAssignee: kst
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andrew Walker 2008-03-10 19:37:23 UTC
Version:           1.6.0 (using KDE 3.5.9)
Installed from:    Compiled From Sources
OS:                Linux

The following request was made by the LFI team:

It would be very useful to be able to launch kst (maybe through command line options) directly with the
kstscript console opened and some sessions already loaded, so that the user doesn't have to:
loadScript('sessionname.js')
Comment 1 Andrew Walker 2008-03-14 20:51:41 UTC
SVN commit 785717 by arwalker:

BUG:159082 automatically display the javaScript consolse if the user requested that some scripts be pre-loaded from the kst command line

 M  +6 -2      js.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=785717
Comment 2 Andrew Walker 2008-03-14 20:52:51 UTC
The syntax for the command line option is, for example, as follows:

kst -E js:"loadScript('xCorrPower.js')"