I’ve tried to make sort of a global delay that I could easily change without having to change the “Pause a while” action every where I want to simulate that the system is working.
So I created a custom event called WaitX which only contains a “Pause 2000 miliseconds” action.
BUT when I trigger the WaitX custom event, it has no effect. The actions that are placed after the custom event are not waiting for the pause action.
Is that intended?
Yes that is a designed behavior.
You can take a look at this: http://www.foreui.com/articles/Tips_f…
The pause action will delay the action after it, but must within the same event handler. So a custom event handler with just one pause action will do nothing at all…
Of course there are some work around to achieve your expect, but not very simple:
Click the button, and you will see the “done” message popup after 2 seconds.
Ok, thanks! I’ll take a look at your work around.
This question is now closed