How to pass script data when using event handler to run a script?

How to pass script data when using event handler to run a script? The only parameter to add is the script id according to the documentation.

When using the runScript() function passing additional information is possible.

Am I missing something?

Pierre Hébert​

]]>

2 Commentsto How to pass script data when using event handler to run a script?

  1. Anonymous says:

    < ![CDATA[

    You need to gather id and data as described here : http://www.lightninglauncher.com/scripting/reference/api/reference/net/pierrox/lightning_launcher/script/api/EventHandler.html#getData()


    This is rather dumb, concatenate both id and data using / as separator.


    Also there are a few new APIs in the beta, in particular for this EventHandler class (http://www.lightninglauncher.com/scripting/reference/api-beta/)

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Thanks for the quick answer.



    Never thought it was that easy. Of course it works 🙂


    Cheers once again.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *