This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kross scripting

Tags: None
(comma "," separated)
User avatar
ComaWhite
KDE Developer
Posts
100
Karma
0
OS

Kross scripting

Sun Mar 08, 2009 2:00 am
I was wondering since no one in #kde-devel can answer it. But when you go to implement Kross into an application. Are Kross scripts like in python, ruby, etc. Do they only execute one time or can you make the scripts run all through the application until you close the application or send a stop signal to Kross to stop them?

I noticed that in the techbase tutorials that you can, well atleast in the examples have multiple interpreters. Are all of them activated upon starting an application instance of Kross? Or what?


Image
KDE Version: 4.6 (Beta 2) | Qt Version: 4.7.1
Aki IRC Developer http://www.akiirc.org/
xxtjaxx
Registered Member
Posts
58
Karma
0
OS

Re: Kross scripting

Sat Feb 20, 2010 8:34 pm
The purpose seems to be that they run all the time, or gracefully die a sudden death when somebody tries to retrigger the Kross::Action. KJSEmbed does really funny things and thus hinders further checks here.
To debug them is a real pain in the neck even though you rund them as described in tutorials. If only somebody from the Kross team could clarify this mess or praytell us that they ditched it a long time ago...


My blog :
http://adreasdevblog.wordpress.com

I work with the head developer on this one:
http://techbase.kde.org/Projects/Aki

My code repository on github:
https://github.com/xxtjaxx/xxtjaxxRepository/tree


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]