• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

If script have an error 3 times than end the thread

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 1022 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andreiemA Offline
    andreiemA Offline
    andreiem
    wrote on last edited by andreiem
    #1

    Hi,

    I have an infinite loop and sometimes "move mouse to element" doesn't exist. Now I use "Fail thread" option after I get this error.

    But looking to do this. If bot get this error should not stop the thread, should move on to the next action and if it encounter this error again on the 3rd loop run then it should end the thread

    I hope it makes sense, thanks!

    1 Reply Last reply
    0
  • andreiemA Offline
    andreiemA Offline
    andreiem
    wrote on last edited by
    #2

    anyone?

    FoxF 1 Reply Last reply
    0
  • FoxF Offline
    FoxF Offline
    Fox Bablosoft Team
    replied to andreiem on last edited by
    #3

    @andreiem said in If script have an error 3 times than end the thread:

    anyone?

    And what exactly is the question?

    1 Reply Last reply
    0
  • GaGG Offline
    GaGG Offline
    GaG
    wrote on last edited by
    #4

    Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3

    andreiemA 1 Reply Last reply
    1
  • andreiemA Offline
    andreiemA Offline
    andreiem
    replied to GaG on last edited by
    #5

    @GaG said in If script have an error 3 times than end the thread:

    Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3

    Got it. Thanks

    1 Reply Last reply
    0

  • T

    Error deleting account

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    313 Views
    No one has replied
  • L

    Network Disabled Error in standalone

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    364 Views
    No one has replied
  • Pavel Duglas BasP

    HTTP CLIENT, DATA n TIME MODULE

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    548 Views
    No one has replied
  • PotioP

    How can i bind proxys each thread?

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    549 Views
    No one has replied
  • nicckN

    Close current thread due to timeout

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    493 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.