Panaikinti simboli

  • [info]

Executing: | refresh | | |

  • [info]

Executing: | storeText | xpath=/html/body/table/tbody/tr/td[3]/center[2] | hp |

  • [info]

Executing: | echo | ${hp} | |

  • [echo]

(98%)

  • [info]

Executing: | executeScript_Sandbox | return ${hp}.split("%")[0].trim(); | hp2 |

  • [info]

Executing: | echo | ${hp2} | |

  • [echo]

(98

  • [info]

Executing: | executeScript_Sandbox | return ${hp2}.split("(")[0].trim(); | hp3 |

  • [info]

Executing: | echo | ${hp3} | |

  • [info]

Executing: | if_v2 | ${hp3} <= 90 | |

  • [info]

Executing: | clickAndWait | linkText=macro | |

  • [info]

Executing: | end | | |

  • [info]

Macro completed (Runtime 4.39s)

kaip panaikinti skliausteli pries 98 nes nemato skaiciaus

What is the question? :wink:

how to remove parentheses before 98 because you don’t see the number

Edit your macro code in this mode

Executing: | executeScript_Sandbox | return ${hp2}.split(“(”)[1].trim(); | hp3 |

thanks its work you save my life :smiley:

1 Like