Is it possible to check in a script if another is running ?

Is it possible to check in a script if another is running ?

Or is it possible on event to run the second script when the first one is finished ?

For the moment I’ve set Timeout in my second script but it’s not a very clean solution

+TrianguloY

]]>
« (Previous Post)
(Next Post) »

8 Commentsto Is it possible to check in a script if another is running ?

  1. Anonymous says:

    < ![CDATA[

    TrianguloY​​


    Pierre Hébert​ if a feature

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Just to clarify: what is the problem in calling runScript at the end of the first script? What do you want to achieve?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    TrianguloY​ it’s because the first script is your variable editor.


    Or a way to call it with parameter at the begining of my 2nd script ? But waiting yours to be ended as I need the variables to be modified first

    ]]>

  4. Anonymous says:

    < ![CDATA[

    The issue here is that the variable editor uses dialogs to work, and those work by events (you open the dialog, and you know when the user press a button, but you don’t know when the dialog is closed unless you specify so, which isn’t specified on the script and needs some code).


    I guess you want to do something, prompt the user to edit some specific variables, and then continue doing something else. If this is the case I think it is better to simply prompt the user to enter the new variables.


    But if you really need to edit any variable, and even create or delete new ones, then you will need to add those ‘onDismissed’ events.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Yes I need to edit 1 or more of my 9 tiles “visible” variables and then rebuild the top position of each one.


    I had the idea of adding a parameter to your script for runing my script after using Cancel = my update is done. It will surely work fine. Thank you for your answers and advice as always.


    Perhaps Pierre Hébert​ could it be a nice feature to add a wait between multiple events ?

    ]]>

  6. Anonymous says:

    < ![CDATA[

    May be you don’t need to use variable editor at all? If you just need to set a variable then do it in your “2nd script”. Without any dialogs.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Юрий Гуленко I need an editor. I’m preparing to update the variable editor and let know you

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Tried with runScript into Variable editor and perfectttttttt !

    ]]>

Leave a Reply

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