limit for the "wait" function

Tutorials and examples of scripts and code
Post Reply
ilja19
Posts: 3
Joined: 16 May 2020, 03:12

limit for the "wait" function

Post by ilja19 »

Hi, I'm new to this forum. I love Actiona - its a really great software but I cant work around this problem:
My script is for web traffic automation, so I use the action "Pixel color" a lot. I set it up, so that it waits until the selected color shows up. But it happens quite often, that the Website doesn't load and so the color doesn't show - My script is now endlessly waiting until I reload the website. My question would be: Is there a way to limit the amount of time, the action waits for a color?
Thanks in advance, Greetings from Germany :)
francois
Posts: 460
Joined: 18 Oct 2010, 10:33
Location: France

Re: limit for the "wait" function

Post by francois »

Hi,

In the 'Common' tab, you can choose a timeout,
In the 'Exceptions' tab, you can indicate what to do if the timeout is reached.
1.jpg
1.jpg (44.98 KiB) Viewed 4356 times
2.jpg
2.jpg (33.31 KiB) Viewed 4356 times
augesrob
Posts: 6
Joined: 16 May 2020, 12:21

Re: limit for the "wait" function

Post by augesrob »

Use the Pause under the internal area on the right side bar.
ilja19
Posts: 3
Joined: 16 May 2020, 03:12

Re: limit for the "wait" function

Post by ilja19 »

Hey, thank you all for your support. But the "timeout" function defeats the purpose of the "Wait" function. When I set a timeout, it acts like a standard pause before the action. I like the "Wait" function because it stops my script for only the time that my website loads. If my website now fails to load, I want to limit the time that my script waits, so it doesn't get stuck.

@augesrob - I don't know what you mean. Can you be more specific?
ilja19
Posts: 3
Joined: 16 May 2020, 03:12

Re: limit for the "wait" function

Post by ilja19 »

Sorry, dont mind the last post. It worked. Thanks so much
Post Reply