Pro lema para comparar valor

Dm114

Well-known member
Amigo, una pregunta, porque no me ayuda con esto, la verdad lo necesito y llevo 2 meses buscando la forma de hacerlo , si no puede no importa
Sorry but now on I don't understand exactly what you're waiting for.

Give a complete example of what you get and what you'd like to achieve.
 

fase

Member
En La imagen que mande esta la macro que ocupo siempre , llega un servicio al aeropuerto y lo acepta , hasta ahí impecable, fue super simple hacerlo , pero tenía la palabra clave AEROPUERTO, lo que necesito es que tome el " valor "superior a un monto X , ejemplo si sale un servicio al aeropuerto sobre $ 7.000 que lo acepte o reconozca , pero si es inferior a ese monto , que no haga nada, en la foto anterior habia un ejemplo de $ 4.250 parece, y esa es la cifra que quiero que lea , no la dirección numero 12534, se que no es tan complicado, pero ha sido un infierno ja ja ja
 

Attachments

  • Screenshot_20240429_075201_MacroDroid.jpg
    Screenshot_20240429_075201_MacroDroid.jpg
    373.7 KB · Views: 4

fase

Member
Ese Es mi proyecto inicial, pero es demasiado largo y lee por error el numero de las direcciones tambien
 

Attachments

  • Screenshot_20240429_080744_MacroDroid.jpg
    Screenshot_20240429_080744_MacroDroid.jpg
    523.4 KB · Views: 4

Dm114

Well-known member
Ese Es mi proyecto inicial, pero es demasiado largo y lee por error el numero de las direcciones tambien
I agree with you: it's much more "comfortable" and reliable to extract values in Actions rather than in Triggers (mainly if you want to make value comparisons: extracted values are strings and have to be converted to numbers to make comparisons).

Here are the actions you have to use to extract your numbers :
20240429_125437.jpg20240429_125522.jpg20240429_125559.jpg
 

Dm114

Well-known member
I agree with you: it's much more "comfortable" and reliable to extract values in Actions rather than in Triggers (mainly if you want to make value comparisons: extracted values are strings and have to be converted to numbers to make comparisons).

Here are the actions you have to use to extract your numbers :
View attachment 9583View attachment 9584View attachment 9585
Of course, in the Extract screen, replace "123 xxx...yyy 456" by the variable containing the text to extract.
 

Dm114

Well-known member
Excelente, la probaré y te comento, parece una fórmula de Einstein je je je
No, it's just to take into account the fact that the numbers to extract must be preceded by the dollar symbol "$" and could include the comma "," as thousands separator. 😀
 

fase

Member
Ahora si la actualice, supongo que ahora debería aplicar la condición si para aceptar la oferta ?
 

Attachments

  • Screenshot_20240430_102050_MacroDroid.jpg
    Screenshot_20240430_102050_MacroDroid.jpg
    398.6 KB · Views: 2

fase

Member
Hola maestro,, ayer estuve probando y probando y no logro descifrar el enigma, pero esa variable está bien
 

Attachments

  • Screenshot_20240501_132352_MacroDroid.jpg
    Screenshot_20240501_132352_MacroDroid.jpg
    396.8 KB · Views: 4
Top