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
]]>
< ![CDATA[
TrianguloY
Pierre Hébert if a feature
]]>
< ![CDATA[
Just to clarify: what is the problem in calling runScript at the end of the first script? What do you want to achieve?
]]>
< ![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
]]>
< ![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.
]]>
< ![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 ?
]]>
< ![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.
]]>
< ![CDATA[
Юрий Гуленко I need an editor. I’m preparing to update the variable editor and let know you
]]>
< ![CDATA[
Tried with runScript into Variable editor and perfectttttttt !
]]>