Bug 159082 - javaScript settings in the Kst command line would be useful
Summary: javaScript settings in the Kst command line would be useful
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: scripting (show other bugs)
Version: 1.x
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 19:37 UTC by Andrew Walker
Modified: 2008-03-14 20:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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')"